Message和nano.MessageNano转换为ByteBuf ,反之亦然。
See: 描述
| Class | 描述 |
|---|---|
| ProtobufDecoder | |
| ProtobufDecoderNano |
将收到的 ByteBuf解码为Google Protocol Buffers MessageNano 。
|
| ProtobufEncoder | |
| ProtobufEncoderNano |
将请求的Google Protocol Buffers MessageNano编码为ByteBuf 。
|
| ProtobufVarint32FrameDecoder |
解码器根据消息中的Google协议缓冲区Base 128 Varints整数长度字段的值动态分割接收到的 ByteBuf 。
|
| ProtobufVarint32LengthFieldPrepender |
Google协议缓冲区的前置编码器
包io.netty.handler.codec.protobuf说明
编码器和解码器将Google Protocol Buffers
Message和nano.MessageNano转换为ByteBuf ,反之亦然。
Copyright © 2008–2018 The Netty Project. All rights reserved. |