AlignedBufferedStream.setBuffer

Construct the buffer using an existing buffer.

This method checks the buffer is properly aligned and the length is a multiple of BLOCK_SIZE too.

template AlignedBufferedStream()
protected
void
setBuffer
(
ubyte[] buffer
)

Parameters

buffer ubyte[]

buffer to re-use for this aligned buffer.

Meta