Skip to main content
  1. Posts/

Gnet -- Support multiple codecs

·41 words·1 min·
Andy Pan
Author
Andy Pan
LIVE FAST. DIE YOUNG. BE WILD. HAVE FUN.
Table of Contents
gnet-milestone - This article is part of a series.
Part 1: This Article

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.

gnet-milestone - This article is part of a series.
Part 1: This Article

Related


comments powered by Disqus