OutputFileStream class

Inheritance

Constructors

OutputFileStream(String path, {int byteOrder = LITTLE_ENDIAN, int? bufferSize})
factory
OutputFileStream.toRamFile(RamFileHandle ramFileHandle, {int byteOrder = LITTLE_ENDIAN, int? bufferSize})
factory
OutputFileStream.withFileHandle(AbstractFileHandle _fileHandle, {int byteOrder = LITTLE_ENDIAN, int? bufferSize})

Properties

byteOrder int
final
hashCode int
The hash code for this object.
no setterinherited
length int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
closeSync() → void
flush() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subset(int start, [int? end]) List<int>
toString() String
A string representation of this object.
inherited
writeByte(int value) → void
Write a byte to the end of the buffer.
override
writeBytes(List<int> bytes, [int? len]) → void
Write a set of bytes to the end of the buffer.
override
writeInputStream(InputStreamBase stream) → void
Write an InputStream to the output stream.
override
writeUint16(int value) → void
Write a 16-bit word to the end of the buffer.
override
writeUint32(int value) → void
Write a 32-bit word to the end of the buffer.
override
writeUint64(int value) → void
Write a 64-bit word to the end of the buffer.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

kDefaultBufferSize → const int