Documentation ¶
Index ¶
- func DelimiterCodec(maxFrameLength int, delimiter string, stripDelimiter bool) codec.Codec
- func FixedLengthCodec(length int) codec.Codec
- func LengthFieldCodec(byteOrder binary.ByteOrder, maxFrameLength int, lengthFieldOffset int, ...) codec.Codec
- func LengthFieldPrepender(byteOrder binary.ByteOrder, lengthFieldLength int, lengthAdjustment int, ...) netty.OutboundHandler
- func PacketCodec(maxFrameLength int) codec.Codec
- func VariableLengthCodec(maxReadLength int) codec.Codec
- func VarintLengthFieldCodec(maxFrameLength int) codec.Codec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DelimiterCodec ¶
DelimiterCodec create delimiter codec
func FixedLengthCodec ¶
FixedLengthCodec create fixed length codec
func LengthFieldCodec ¶
func LengthFieldCodec( byteOrder binary.ByteOrder, maxFrameLength int, lengthFieldOffset int, lengthFieldLength int, lengthAdjustment int, initialBytesToStrip int, ) codec.Codec
LengthFieldCodec create a length field based codec
func LengthFieldPrepender ¶
func LengthFieldPrepender( byteOrder binary.ByteOrder, lengthFieldLength int, lengthAdjustment int, lengthIncludesLengthFieldLength bool, ) netty.OutboundHandler
LengthFieldPrepender for LengthFieldCodec
An encoder to prepends the length of the message
func VariableLengthCodec ¶
VariableLengthCodec create maximum received length codec
func VarintLengthFieldCodec ¶
VarintLengthFieldCodec create varint length field based codec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.