Implements the core array read method.
protected int readCore( Object buffer, int offset, int count )
buffer
An array of primitive types to be read.
offset
The byte offset into buffer.
count
The number of bytes in buffer to read.
Returns an array of data from this stream.
IOException thrown if an error occurs or if the stream does not support reading.
This method is called from the other array reading methods of this class. This method reads count bytes of data into buffer starting at offset. The buffer parameter is guaranteed to be of type byte[], char[], short[], int[], long[], float[], or double[]. The default implementation throws an IOException, but a subclass can override the method to provide the appropriate functionality.