Czym jest offset

0

Cześć,
Zupełnie nie wiem czym jest offset w funkcji:

U32 ecrobot_read_bt(void* buf, U32 off, U32 len)	[RECOMMENDED TO USE] reads data from a Bluetooth device (PC, master/slave NXT).
Parameters:
    buf: Bluetooth receive data buffer
    off: Bluetooth receive data buffer offset
    len: size of the data buffer (max. 128 bytes)
Returns:
    number of return data in bytes

Dzięki za wytłumaczenie.

0

Pozycja względem początku.

zestaw bitów {0, 1, 1, 0}

Gdy offset = 0, bierzesz wszystko.

0

Nie myl długości, z offsetem końcowym

1 użytkowników online, w tym zalogowanych: 0, gości: 1