mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-14 17:02:43 +08: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>