Header menu logo CodecMapper

ByteSource Type

A lightweight context for reading bytes.

Record fields

Record Field Description

Data

Full Usage: Data

Field type: byte[]
Field type: byte[]

Offset

Full Usage: Offset

Field type: int
Field type: int

Constructors

Constructor Description

ByteSource(data, offset)

Full Usage: ByteSource(data, offset)

Parameters:
    data : byte[]
    offset : int

Returns: ByteSource
data : byte[]
offset : int
Returns: ByteSource

Instance members

Instance member Description

this.Advance

Full Usage: this.Advance

Parameters:
    n : int

Returns: ByteSource
Modifiers: inline

Advances the source by `n` bytes.

n : int
Returns: ByteSource

this.SetOffset

Full Usage: this.SetOffset

Parameters:
    n : int

Returns: ByteSource
Modifiers: inline

Returns a copy of the source with an explicit absolute offset.

n : int
Returns: ByteSource

Type something to start searching.