public interface ByteEncodable
Modifier and Type | Method and Description |
---|---|
byte[] |
encodeBytes() |
int |
encodeBytes(ByteArray dest)
This requests the Object to encode itself as a stream of bytes which is appended
to the destination ByteArray.
|
int encodeBytes(ByteArray dest)
dest
- The destination ByteArray, or null to determine the number of bytes needed to encode.byte[] encodeBytes()