共用方式為


StorageFileInputStream Class

public class StorageFileInputStream
extends StorageInputStream

Provides an input stream to read a given storage file resource.

Method Summary

Modifier and Type Method and Description
protected synchronized ByteBuffer dispatchRead(int readLength, long offset)

Dispatches a read operation of N bytes.

Methods inherited from StorageInputStream

Methods inherited from java.io.InputStream

Methods inherited from java.lang.Object

Method Details

dispatchRead

protected synchronized ByteBuffer dispatchRead(int readLength, long offset)

Dispatches a read operation of N bytes.

Overrides:

StorageFileInputStream.dispatchRead(int readLength, long offset)

Parameters:

readLength - An int which represents the number of bytes to read.
offset

Applies to