ByteLayer class

Constructors

ByteLayer.new()

Properties

bytes Uint8List
no setter
currentPosition int
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkBit(int position, int mask) bool
clear() → void
clearBit(int position, int maskToClear) → void
compress() Future<void>
decompress() Future<void>
getBit(int position) int
insertRandomBytes(int count) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readByte() int
readBytes(int num) List<int>
readDouble() double
readFloat() double
readFromFile(String filePath) Future<void>
readInt() int
readIntZigZag() int
readLong() int
readLongZigZag() int
readShort() int
readString() String
readTagName() String
readUnsignedByte() int
readUnsignedLong() int
readVarInt() int
readVarIntNoZigZag() int
readVarLongNoZigZag() int
readVarLongZigZag() int
resetPosition() → void
restorePosition(int position) → void
seek(int position) → void
setBit(int position, int maskToSet) → void
toString() String
A string representation of this object.
inherited
unsetSetBit(int position, int maskToClear, int maskToSet) → void
Unsets a mask, then sets a mask
writeByte(int value) → void
writeBytes(Iterable<int> bytes) → void
writeDouble(double value) → void
writeFloat(double value) → void
writeInt(int value) → void
writeIntZigZag(int value) → void
writeLong(int value) → void
writeLongZigZag(int value) → void
writeShort(int value) → void
writeString(String value) → void
writeTagName(String name) → void
writeToFile(String filePath) Future<void>
writeUnsignedByte(int value) → void
writeUnsignedLong(int value) → void
writeVarInt(int value) → void
writeVarIntNoZigZag(int value) → void
writeVarLongNoZigZag(int value) → void
writeVarLongZigZag(int value) → void

Operators

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