Writes a block of data from an array to the stream
Writes a block of data from an array to the stream
The basic implementation is provided for convenience, though it is not an efficient implementation and results in large numbers of boxing objects being created unnecessarily. Subclasses of Output should provide their own implementations of writeBlock.
the Array containing the data to be written to the stream
The offset to the position within the array that data should start to be read from when writing to the stream. Defaults to the start of the array.
The length of data to write from the array into the stream. Defaults to the remainder of the array.
The number of data items written.
Interface for an accumulator which is a special kind of output which collects and stores all input in a buffer which can be retrieved afterwards. No guarantees are made about input supplied after the buffer has been retrieved.
The type of data to be accumulated
The type into which the data will be accumulated