ByteReader.peekUint16Be

Read an unsigned 16 bit big endian integer into @val but keep the current position.

class ByteReader
bool
peekUint16Be
(
out ushort val
)

Parameters

val ushort

Pointer to a #guint16 to store the result

Return Value

Type: bool

%TRUE if successful, %FALSE otherwise.

Meta