Package com.newstep.solid.netio.slip.codec

 
Package Diagram Summary
codec 
 
Class Summary
SignedByteCodec 
SignedIntCodec 
SignedShortCodec 
SlipHeaderCodecFactory 
UnsignedByteCodec 
UnsignedShortCodec 

 
Interface Summary
SlipMessageHeaderCodec 
Package Elements Detail
SlipMessageHeaderCodec
Applies an encoding scheme to read/write the SLIP message payload length
to/from the specified ByteBuffers.
 

 
Operation Summary
decodeDecodes the header (payload length) from the provided byte buffer
encodeEncodes the specified length into the provided ByteBuffer

decode
 
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.
 

 
Parameter Summary
buffer 
return 

buffer
 

return
 

encode
 
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.
 

 
Parameter Summary
buffer 
length 

buffer
 

length