RTI Connext .Net APIs
Version 5.0.0
|
Built-in type consisting of a variable-length array of opaque bytes. More...
#include <managed_bytes.h>
Public Member Functions | |
Bytes () | |
Default Constructor. | |
Bytes (System::Int32 size) | |
Constructor that specifies the size of the allocated bytes array. | |
virtual System::Boolean | copy_from (Bytes^ src) |
Copy src into this object. | |
Public Attributes | |
System::Int32 | length |
Number of bytes to serialize. | |
System::Int32 | offset |
Offset from which to start serializing bytes . | |
array< System::Byte >^ | value |
DDS::Bytes array value. | |
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. |
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.