BytesBufferLeb128Extension extension

LEB128 extension for BytesBuffer.

on

Methods

readLeb128Block() → Uint8List

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Reads a LEB128 bytes block.
readLeb128BlockTo(BytesBuffer dst) → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Reads a LEB128 bytes block into dst.
readLeb128SignedInt({int bits = 64}) → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Reads a LEB128 signed integer.
readLeb128String({Encoding encoding = dart_convert.latin1}) → String

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Reads a String inside a LEB128 bytes block.
readLeb128UnsignedInt() → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Reads a LEB128 unsigned integer.
writeLeb128Block(List<int> block) → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Writes a LEB128 bytes block.
writeLeb128BlockFrom(BytesBuffer src, [int? length]) → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Writes a LEB128 bytes block from src.
writeLeb128SignedInt(int n) → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Write a LEB128 signed integer.
writeLeb128String(String s, {Encoding encoding = dart_convert.latin1}) → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Writes String s inside a LEB128 bytes block.
writeLeb128UnsignedInt(int n) → int

Available on BytesBuffer, provided by the BytesBufferLeb128Extension extension

Write a LEB128 unsigned integer.