InputFileStream constructor

InputFileStream(
  1. String path, {
  2. int byteOrder = LITTLE_ENDIAN,
  3. int bufferSize = FileBuffer.kDefaultBufferSize,
})

Implementation

factory InputFileStream(
  String path, {
  int byteOrder = LITTLE_ENDIAN,
  int bufferSize = FileBuffer.kDefaultBufferSize,
}) {
  return InputFileStream.withFileBuffer(
    FileBuffer(FileHandle(path, openMode: AbstractFileOpenMode.read)),
    byteOrder: byteOrder,
    bufferSize: bufferSize,
  );
}