OutputFileStream constructor

OutputFileStream(
  1. String path, {
  2. int byteOrder = LITTLE_ENDIAN,
  3. int? bufferSize,
})

Implementation

factory OutputFileStream(
  String path, {
  int byteOrder = LITTLE_ENDIAN,
  int? bufferSize,
}) {
  return OutputFileStream.withFileHandle(
    FileHandle(path, openMode: AbstractFileOpenMode.write),
    byteOrder: byteOrder,
    bufferSize: bufferSize,
  );
}