Class StorageFileInputStream

java.lang.Object
java.io.InputStream
com.azure.storage.common.StorageInputStream
com.azure.storage.file.share.StorageFileInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class StorageFileInputStream extends StorageInputStream
Provides an input stream to read a given storage file resource.
  • Method Details

    • dispatchRead

      protected ByteBuffer dispatchRead(int readLength, long offset)
      Dispatches a read operation of N bytes.
      Specified by:
      dispatchRead in class StorageInputStream
      Parameters:
      readLength - An int which represents the number of bytes to read.
      offset - The start point of data to be acquired.
      Returns:
      The bytebuffer which store one chunk size of data.