SquizStream

A state carrying, processing stream for squiz algorithms. The stream does not carry any buffer, only slices to external buffer. One may normally not use this directly as everything is handled by the squiz function.

Members

Properties

input
const(ubyte)[] input [@property getter]
const(ubyte)[] input [@property setter]

Input data for the algorithm The slice is reduced by its begining as the processing moves on. Must be refilled when empty before calling the algorithm process method.

output
inout(ubyte)[] output [@property getter]

Output buffer for the algorithm to write to. This is NOT the data ready after process, but where the algorithm must write next. after a call to process, the slice is reduced by its beginning, and the data written is therefore the one before the slice.

output
ubyte[] output [@property setter]
Undocumented in source.
totalInput
size_t totalInput [@property getter]

How many bytes read since the start of the stream processing.

totalOutput
size_t totalOutput [@property getter]

How many bytes written since the start of the stream processing.

Meta