MiniQuake2

src/miniquake2/format/binary.ml

Provides miniquake2 format binary facilities for this project.

Package
miniquake2.format.binary
Reachable
Yes

Imports

Declarations

f32

inline function f32(data, offset)

Return the f 32 value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.

View source

fixedString

function fixedString(data, offset, capacity)

Return the fixed string value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.
capacitydynamic—capacity value consumed by this operation.

View source

i16

inline function i16(data, offset)

Return the i 16 value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.

View source

i32

function i32(data, offset)

Return the i 32 value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.

View source

i8

inline function i8(data, offset)

Return the i 8 value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.

View source

putU16

function putU16(data, offset, value)

Write u 16.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.
valuedynamic—Value consumed or transformed by the operation.

View source

putU32

function putU32(data, offset, value)

Write u 32.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.
valuedynamic—Value consumed or transformed by the operation.

View source

requireRange

function requireRange(data, offset, count)

Require range.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.
countdynamic—Number of items or units to process.

View source

u16

inline function u16(data, offset)

Return the u 16 value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.

View source

u32

function u32(data, offset)

Return the u 32 value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.

View source

u8

inline function u8(data, offset)

Return the u 8 value.

ParameterTypeDefaultDescription
datadynamic—Input data consumed by the operation.
offsetdynamic—Zero-based offset at which processing starts.

View source