Example #1
0
 public bitReader(io.ByteReader r = default, ulong n = default, ulong bits = default, error err = default)
 {
     this.r    = r;
     this.n    = n;
     this.bits = bits;
     this.err  = err;
 }
Example #2
0
 // ReadUvarint reads an encoded unsigned integer from r and returns it as a uint64.
 public static (ulong, error) ReadUvarint(io.ByteReader r)
 {
     ulong _p0 = default;
     error _p0 = default !;
Example #3
0
 public decoder(io.ByteReader r = default, uint bits = default, ulong nBits = default, ulong width = default, Func <ptr <decoder>, (ushort, error)> read = default, long litWidth = default, error err = default, ushort clear = default, ushort eof = default, ushort hi = default, ushort overflow = default, ushort last = default, array <byte> suffix = default, array <ushort> prefix = default, array <byte> output = default, long o = default, slice <byte> toRead = default)
Example #4
0
 private static (byte, error) readByte(io.ByteReader r)
 {
     byte  _p0 = default;
     error _p0 = default !;