At the moment 'WritableFileHandleProtocol' is in terms of some Sequence<UInt8>. To use a ByteBuffer users must pass in the readable view of the buffer, which is inconvenient.
Modifications:
Add an extension to WritableFileHandleProtocol which takes a ByteBuffer.
Motivation:
At the moment 'WritableFileHandleProtocol' is in terms of
some Sequence<UInt8>
. To use aByteBuffer
users must pass in the readable view of the buffer, which is inconvenient.Modifications:
WritableFileHandleProtocol
which takes aByteBuffer
.Result:
Easier to use API