#include <managed_keyedbytes.h>

Public Member Functions | |
| KeyedBytes () | |
| Default Constructor. | |
| KeyedBytes (System::Int32 size) | |
| Constructor that specifies the allocated sizes. | |
| virtual System::Boolean | copy_from (KeyedBytes^ src) |
| Copy src into this object. | |
Public Attributes | |
| System::String^ | key |
| Instance key associated with the specified value. | |
| 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. | |
| DDS::KeyedBytes::KeyedBytes | ( | ) |
Default Constructor.
The default constructor initializes the newly created object with empty key, null value, zero length, and zero offset.
| DDS::KeyedBytes::KeyedBytes | ( | System::Int32 | size | ) |
Constructor that specifies the allocated sizes.
After this method is called, key is initialized with the empty string and length and offset are set to zero.
| size | <<in>> Size of the allocated bytes array. |
| virtual System::Boolean DDS::KeyedBytes::copy_from | ( | KeyedBytes^ | src | ) | [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::String ^ DDS::KeyedBytes::key |
Instance key associated with the specified value.
| System::Int32 DDS::KeyedBytes::length |
Number of bytes to serialize.
| System::Int32 DDS::KeyedBytes::offset |
Offset from which to start serializing bytes .
The first position of the bytes array has offset 0.
| array<System::Byte> ^ DDS::KeyedBytes::value |
DDS::Bytes array value.