Public Member Functions | |
Bytes () | |
Default Constructor. | |
Bytes (Bytes src) | |
Copy constructor. | |
Bytes (int size) | |
Constructor that specifies the size of the allocated bytes array. | |
Object | copy_from (Object src) |
Copy src into this object. | |
Public Attributes | |
int | length |
Number of bytes to serialize. | |
int | offset |
Offset from which to start serializing bytes . | |
byte[] | value |
com.rti.dds.type.builtin.Bytes array value. |
Bytes | ( | ) |
Default Constructor.
The default constructor initializes the newly created object with null value, zero length, and zero offset.
Copy constructor.
src | <<in>> Object to copy from. |
NullPointerException | if src is null. |
Bytes | ( | int | 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. |
IllegalArgumentException | if size is negative |
Object copy_from | ( | Object | src | ) |
int length |
Number of bytes to serialize.
int offset |
Offset from which to start serializing bytes .
The first position of the bytes array has offset 0.
byte [] value |
com.rti.dds.type.builtin.Bytes array value.