| Modifier and Type | Field and Description |
|---|---|
| public static final ByteArrayDataType |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte[][] | createStorage(int
number of values to hold size)Implements org. Create storage object of array type to hold values |
| public int | getMemory(byte[]
the object data)Implements abstract org. Implements org. Calculates the amount of used memory in bytes. |
| public byte[] | read(ByteBuffer
the source buffer buff)Implements abstract org. Implements org. Read an object. |
| public void | write(WriteBuffer
the target buffer buff, byte[] the value data)Implements abstract org. Implements org. Write an object. |
| INSTANCE | back to summary |
|---|---|
| public static final ByteArrayDataType INSTANCE | |
| ByteArrayDataType | back to summary |
|---|---|
| private ByteArrayDataType() | |
| createStorage | back to summary |
|---|---|
| public byte[][] createStorage(int size) Implements org. Doc from org. Create storage object of array type to hold values
| |
| getMemory | back to summary |
|---|---|
| public int getMemory(byte[] data) Implements abstract org. Implements org. Doc from org. Calculates the amount of used memory in bytes.
| |
| read | back to summary |
|---|---|
| public byte[] read(ByteBuffer buff) Implements abstract org. Implements org. Doc from org. Read an object.
| |
| write | back to summary |
|---|---|
| public void write(WriteBuffer buff, byte[] data) Implements abstract org. Implements org. Doc from org. Write an object.
| |