Please enable JavaScript to view this site.

This function returns a word u16 read from a buffer at the specified offset.

Syntax

u16 get_u16 (buff, i32 offset)

buff

Can be an array, structure, or register

offset

Offset in bytes to which you want to read

Result

Returns the word read

Validity

Rule, Task

Note

No range check is performed, it is up to the user to check that adding the offset and the data size does not exceed the maximum buffer size

NOTE: If the user wishes to extract a word from the buffer of a structure of type bbc_msguser then the user must use the function bcc_get_u16().

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC