Skip to main content
  1. Posts/

Gnet -- Support multiple codecs

·40 words·1 min
Table of Contents

About this change #

In this change, gnet integrates multiple codecs to encode/decode network frames into/from TCP stream: LineBasedFrameCodec, DelimiterBasedFrameCodec, FixedLengthFrameCodec and LengthFieldBasedFrameCodec, referencing netty codec, in addition to these built-in codecs, gnet also supports customized codecs by functional option Codec.