Bw class
Buffer Writer
This is the writing complement of the Bw. You can easily write VarInts and other basic number types. The way to use it is: buf = new Bw().write(buf1).write(buf2).toBuffer()
Properties
Methods
-
getLength(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBuffer(
) → List< int> -
toHex(
) → String -
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List? buf) → Bw -
writeInt16BE(
int n) → Bw -
writeInt16LE(
int n) → Bw -
writeInt32BE(
int n) → Bw -
writeInt32LE(
int n) → Bw -
writeInt8(
int n) → Bw -
writeReverse(
Uint8List buf) → Bw -
writeUInt16BE(
int n) → Bw -
writeUInt16LE(
int n) → Bw -
writeUInt32BE(
int n) → Bw -
writeUInt32LE(
int n) → Bw -
writeUInt64BEBn(
BigIntX bn) → Bw -
writeUInt64LEBn(
BigIntX bn) → Bw -
writeUInt8(
int n) → Bw -
writeVarIntBn(
BigIntX bn) → Bw -
writeVarIntNum(
int n) → Bw
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
varIntBufBn(
BigIntX bn) → Uint8List -
varIntBufNum(
int n) → Uint8List