net.sf.asyncobjects.asyncscala.nio
Compact buffer
Compact buffer
the buffer to compact
Generic get array length
Generic get array length
the array to measure
length of array
Raw buffer put operation
Raw buffer put operation
Wrap array into buffer
Wrap array into buffer
the array to wrap
the offset in array
Transfer as must as possible bytes from one buffer to another.
Transfer as must as possible bytes from one buffer to another. Destination buffer is supposed contain data in format suitable for write operation. The destination buffer might be compacted.
the source buffer
the destination buffer
amount of bytes transferred
Transfer as must as possible bytes from one buffer to another.
Transfer as must as possible bytes from one buffer to another. It works like the ByteBuffer#put(ByteBuffer)
operation.
the source buffer
the destination buffer
amount of bytes transferred
A short form that wraps array into buffer
A short form that wraps array into buffer
the array to wrap
Buffer utilities that allow writing generic functions that work with arrays and buffers