FeedBuffer
abstract class FeedBuffer constructor(val blockSize: Int, flush: FeedBuffer.Flush, finalize: FeedBuffer.Finalize)(source)
Helper class for Decoder.Feed and Encoder.Feed to buffer their input until ready to output data via their supplied Decoder.OutFeed/Encoder.OutFeed.
See also
Throws
IllegalArgumentException
if blockSize is less than or equal to 0
Types
Link copied to clipboard
Finalize.invoke will be called whenever finalize is called to process remaining input held in buffer.
Link copied to clipboard
Flush.invoke will be called once the buffer fills up, and pass it along to perform bitwise operations on it before outputting results to the supplied Decoder.OutFeed/Encoder.OutFeed.
Properties
Functions
Link copied to clipboard
Call whenever Encoder.Feed.doFinalProtected or Decoder.Feed.doFinalProtected is invoked to process the remaining input held in buffer.