RTI Connext .Net APIs
Version 6.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. More... | |
Bytes (System::Int32 size) | |
Constructor that specifies the size of the allocated bytesarray. More... | |
virtual System::Boolean | copy_from (Bytes^ src) |
Copy src into this object. More... | |
Public Attributes | |
System::Int32 | length |
Number of bytesto 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 bytesarray.
After this method is called, length and offset are set to zero.
size | <<in>> Size of the allocated bytesarray. |
|
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 bytesto serialize.
System::Int32 DDS::Bytes::offset |
Offset from which to start serializing bytes.
The first position of the bytesarray has offset 0.
array<System::Byte> ^ DDS::Bytes::value |
DDS::Bytes array value.