# readAngle
function readAngle(buffer, operation)Read angle.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
src/miniquake2/protocol/checked.mlProvides miniquake2 protocol checked facilities for this project.
miniquake2/qcommon/message.ml as qmsg → src/miniquake2/qcommon/message.mlfunction readAngle(buffer, operation)Read angle.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readAngle16(buffer, operation)Read angle 16.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readByte(buffer, operation)Read byte.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readBytes(buffer, count, operation)Read bytes.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
count | dynamic | — | Number of items or units to process. |
operation | dynamic | — | operation value consumed by this operation. |
function readChar(buffer, operation)Read char.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readCoord(buffer, operation)Read coord.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readLong(buffer, operation)Read long.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readShort(buffer, operation)Read short.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readULong(buffer, operation)Read u long.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function readUShort(buffer, operation)Read u short.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
operation | dynamic | — | operation value consumed by this operation. |
function require(buffer, count, operation)Require state.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | Buffer that receives or supplies the operation data. |
count | dynamic | — | Number of items or units to process. |
operation | dynamic | — | operation value consumed by this operation. |