BytesOutput class

Generated Bytes.

Implemented types
Available Extensions

Constructors

BytesOutput({Object? data, String? description})

Properties

description String?
Optional description of this bytes instance.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
length int
The length of bytes to output.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Object? data, {String? description}) → void
Adds data to this bytes instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
output() Uint8List
Outputs/emits all the written bytes.
inherited
toString({String indent = '', bool hex = false}) String
Show bytes description if defined.
inherited
write(List<int> data, {String? description}) → void
Writes data to this bytes instance.
inherited
writeAll(Iterable<List<int>> data, {String? description}) → void
Writes all data to this bytes instance.
inherited
writeAllBytes(Iterable<BytesEmitter> bytes, {String? description}) → void
Writes all the bytes to this bytes instance.
inherited
writeByte(int b, {String? description}) → void
Writes a byte b to this bytes instance.
inherited
writeBytes(BytesEmitter bytes, {String? description}) → void
Writes bytes to this bytes instance.
inherited
writeBytesLeb128Block(List<BytesEmitter> block, {String? description}) → void
Writes a Leb128 block to this bytes instance.
inherited
writeLeb128Block(List<List<int>> block, {String? description}) → void
Writes a Leb128 block to this bytes instance.
inherited

Operators

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