TypeFind.peek

Returns the size bytes of the stream to identify beginning at offset. If offset is a positive number, the offset is relative to the beginning of the stream, if offset is a negative number the offset is relative to the end of the stream. The returned memory is valid until the typefinding function returns and must not be freed.

class TypeFind
ubyte[]
peek
(
long offset
,
uint size
)

Parameters

offset long

The offset

size uint

The number of bytes to return

Return Value

Type: ubyte[]

the requested data, or NULL if that data is not available.