Kevin Clark 7ef823a44a Port ByteBuf
This implements a heap based ByteBuffer modeled on Netty's ByteBuf. It provides read and write access via Unsafe{Mutable}Pointers (withReadPointer, withMutableWritePointer) and read access via withData. Instead of providing public access to mutating readIndex/writeIndex, the mutable withPointer methods take a closure returning the number of bytes written and automatically manages the applicable index.

Read and write helper methods still largely TODO.
2017-05-15 22:30:49 -07:00
2017-05-15 22:30:49 -07:00
2017-04-26 20:41:33 +02:00
2017-04-20 12:13:14 +01:00
2017-04-20 12:13:14 +01:00
2017-04-20 12:13:14 +01:00
2017-04-20 12:13:14 +01:00
2017-04-20 12:13:14 +01:00
2017-04-20 12:13:14 +01:00
S
Description
Mirror of github.com/apple/swift-nio
Apache-2.0
80 MiB
0 Stars 1 Watchers 0 Forks
Languages
Swift 91.9%
C 5%
Shell 2%
CMake 0.5%
C++ 0.4%