Package com.newstep.solid.netio.slip.codec
Applies an encoding scheme to read/write the SLIP message payload length
to/from the specified ByteBuffers.
| Operation Summary |
| decode | Decodes the header (payload length) from the provided byte buffer |
| encode | Encodes the specified length into the provided ByteBuffer |
Decodes the header (payload length) from the provided byte buffer
Parameters:
buffer The byte buffer from which to decode the slip message header
Return:
The decoded length value as a signed integer
Abstract.
Encodes the specified length into the provided ByteBuffer
Parameters:
buffer The ByteBuffer into which the length should be encoded
length The length value to be encoded
Abstract.