github.com/smallnest/goframe (go): refer to: 1. https://github.com/nickpisacane/framedconn 2. https://github.com/netty/netty/blob/eb7f751ba519cbcab47d640cd18757f09d077b55/codec/src/main/java/io/netty/handler/codec/LengthFieldBasedFrameDecoder.java 3. https://github.com/netty/netty/blob/eb7f751ba519cbcab47d640cd18757f09d077b55/codec/src/main/java/io/netty/handler/codec/LengthFieldPrepender.java
Keywords: frame|golang|netty|streaming|tcp