190 bool networkByteOrder =
true);
194 std::unique_ptr<folly::IOBuf>& result,
bool decode(Context *ctx, folly::IOBufQueue &buf, std::unique_ptr< folly::IOBuf > &result, size_t &) override
LengthFieldBasedFrameDecoder(uint32_t lengthFieldLength=4, uint32_t maxFrameLength=UINT_MAX, uint32_t lengthFieldOffset=0, int32_t lengthAdjustment=0, uint32_t initialBytesToStrip=4, bool networkByteOrder=true)
uint32_t initialBytesToStrip_
uint32_t lengthFieldEndOffset_
uint32_t lengthFieldOffset_
InboundHandler< folly::IOBufQueue &, M >::Context Context
uint32_t lengthFieldLength_
uint64_t getUnadjustedFrameLength(folly::IOBufQueue &buf, int offset, int length, bool networkByteOrder)
int32_t lengthAdjustment_