Header menu logo B2R2

IBinFile Type

Represents a format-agnostic binary file interface.

Instance members

Instance member Description

this.Length

Full Usage: this.Length

Returns: int
Modifiers: abstract

Returns the size of the associated binary file.

Returns: int

this.RawBytes

Full Usage: this.RawBytes

Returns: byte[]
Modifiers: abstract

Returns the raw file content as a byte array.

Returns: byte[]

this.Reader

Full Usage: this.Reader

Returns: IBinReader
Modifiers: abstract

Returns a reader for this binary file.

Returns: IBinReader

Static members

Static member Description

IBinFile.Slice(file, offset, len)

Full Usage: IBinFile.Slice(file, offset, len)

Parameters:
    file : IBinFile
    offset : int
    len : int

Returns: ReadOnlySpan<byte>

Slices the given binary file into a span of bytes of the specified length starting from the specified offset.

file : IBinFile
offset : int
len : int
Returns: ReadOnlySpan<byte>

Type something to start searching.