mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-24 04:37:58 +00:00
Motivation: The RSocket protocol uses a 24 bit length field Modifications: - add two new methods readInteger and writeInteger on ByteBuffer that support reading and writing integers of any size. - add a new case (.three) to ByteLength Result: LengthFieldBasedFrameDecoder & LengthFieldPrepender do now support a 24 bit length field Co-authored-by: Johannes Weiss <johannesweiss@apple.com>