Construct a buffer.
Construct a buffer.
Access buffer capacity.
Drain buffer content to the specific conduit.
Fill the provided buffer. Returns the number of bytes actually read, which will be less that dst.length when Eof has been reached and Eof thereafter.
Clear buffer content.
Load the bits from a stream, up to an indicated length, and return them all in an array. The function may consume more than the indicated size where additional data is available during a block read operation, but will not wait for more than specified. An Eof terminates the operation.
Iterator support.
Return a void[] slice of the buffer from start to end, where end is exclusive.
Place more data from the source stream into this buffer, and return the number of bytes added. This does not compress the current buffer content, so consider doing that explicitly.
Transfer content into the provided dst.
Read directly from this buffer.
Reserve the specified space within the buffer, compressing existing content as necessary to make room.
Move the current read location.
Move the current read location.
Retrieve the valid content.
Access buffer content.
Write into this buffer.
Compress buffer space.
Set the input stream.
Access buffer limit.
Access buffer read position.
Available content.
Cast to a target type without invoking the wrath of the runtime checks for misalignment. Instead, we truncate the array length.
Attempt to share an upstream Buffer, and create an instance where there's not one available.
Return the hosting conduit.
Read from conduit into a target array. The provided dst will be populated with content from the conduit.
Load the bits from a stream, and return them all in an array. The dst array can be provided as an option, which will be expanded as necessary to consume the input.
Clear any buffered content.
Seek on this stream. Target conduits that don't support seeking will throw an IOException.
Return the upstream host of this filter.
Close the input.
Buffers the flow of data from a upstream input. A downstream neighbour can locate and use this buffer instead of creating another instance of their own.
(Note that upstream is closer to the source, and downstream is further away.)