B2R2


LEB128 Type

Static members

Static member Description

LEB128.DecodeSInt32(bytes)

Full Usage: LEB128.DecodeSInt32(bytes)

Parameters:
    bytes : byte[]

Returns: int32 * int

Decode a LEB128-encoded integer into int32. This function returns a tuple of (the decoded int32, and the count of how many bytes were read).

bytes : byte[]
Returns: int32 * int

LEB128.DecodeSInt32(span)

Full Usage: LEB128.DecodeSInt32(span)

Parameters:
Returns: int32 * int

Decode a LEB128-encoded integer into int32. This function returns a tuple of (the decoded int32, and the count of how many bytes were read).

span : ReadOnlySpan<byte>
Returns: int32 * int

LEB128.DecodeSInt64(bytes)

Full Usage: LEB128.DecodeSInt64(bytes)

Parameters:
    bytes : byte[]

Returns: int64 * int

Decode a LEB128-encoded integer into int64. This function returns a tuple of (the decoded int64, and the count of how many bytes were read).

bytes : byte[]
Returns: int64 * int

LEB128.DecodeSInt64(span)

Full Usage: LEB128.DecodeSInt64(span)

Parameters:
Returns: int64 * int

Decode a LEB128-encoded integer into int64. This function returns a tuple of (the decoded int64, and the count of how many bytes were read).

span : ReadOnlySpan<byte>
Returns: int64 * int

LEB128.DecodeUInt32(bytes)

Full Usage: LEB128.DecodeUInt32(bytes)

Parameters:
    bytes : byte[]

Returns: uint32 * int

Decode a LEB128-encoded integer into uint32. This function returns a tuple of (the decoded uint32, and the count of how many bytes were read).

bytes : byte[]
Returns: uint32 * int

LEB128.DecodeUInt32(span)

Full Usage: LEB128.DecodeUInt32(span)

Parameters:
Returns: uint32 * int

Decode a LEB128-encoded integer into uint32. This function returns a tuple of (the decoded uint32, and the count of how many bytes were read).

span : ReadOnlySpan<byte>
Returns: uint32 * int

LEB128.DecodeUInt64(bytes)

Full Usage: LEB128.DecodeUInt64(bytes)

Parameters:
    bytes : byte[]

Returns: uint64 * int

Decode a LEB128-encoded integer into uint64. This function returns a tuple of (the decoded uint64, and the count of how many bytes were read).

bytes : byte[]
Returns: uint64 * int

LEB128.DecodeUInt64(span)

Full Usage: LEB128.DecodeUInt64(span)

Parameters:
Returns: uint64 * int

Decode a LEB128-encoded integer into uint64. This function returns a tuple of (the decoded uint64, and the count of how many bytes were read).

span : ReadOnlySpan<byte>
Returns: uint64 * int

LEB128.Max32

Full Usage: LEB128.Max32

Returns: int
Returns: int

LEB128.Max64

Full Usage: LEB128.Max64

Returns: int
Returns: int