RTI Connext .NET API (legacy)
Version 6.1.2
|
Built-in type consisting of a variable-length array of opaque bytes. More...
#include <managed_bytes.h>
Public Member Functions | |
Bytes () | |
Default Constructor. More... | |
Bytes (System::Int32 size) | |
Constructor that specifies the size of the allocated bytes array. More... | |
virtual System::Boolean | copy_from (Bytes^ src) |
Copy src into this object. More... | |
Public Attributes | |
System::Int32 | length |
Number of bytes to serialize. More... | |
System::Int32 | offset |
Offset from which to start serializing bytes. More... | |
array< System::Byte > ^ | value |
DDS::Bytes array value. More... | |
Built-in type consisting of a variable-length array of opaque bytes.
DDS::Bytes::Bytes | ( | ) |
Default Constructor.
The default constructor initializes the newly created object with null value, zero length, and zero offset.
DDS::Bytes::Bytes | ( | System::Int32 | size | ) |
Constructor that specifies the size of the allocated bytes array.
After this method is called, length and offset are set to zero.
size | <<in>> Size of the allocated bytes array. |
|
virtual |
Copy src into this object.
This method performs a deep copy of src
and it allocates memory for the value if required.
src | <<in>> Object to copy from. |
ArgumentNullException | if src is null. |
Reimplemented from DDS::ICopyable< Bytes^>.
System::Int32 DDS::Bytes::length |
Number of bytes to serialize.
System::Int32 DDS::Bytes::offset |
Offset from which to start serializing bytes.
The first position of the bytes array has offset 0.
array<System::Byte> ^ DDS::Bytes::value |
DDS::Bytes array value.