diff options
Diffstat (limited to 'doc/PROTOCOLS')
-rw-r--r-- | doc/PROTOCOLS | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/PROTOCOLS b/doc/PROTOCOLS index c15a83d..996bf0c 100644 --- a/doc/PROTOCOLS +++ b/doc/PROTOCOLS @@ -72,11 +72,11 @@ permission required. arguments. Returns an array as follows: first 8 bytes are uint64 array_size, next 8*array_size bytes are channels. Last 8 bytes are zeroes (they are after the last channel). Possible memory layout (divided in 8 byte [64 bit] blocks): -| 5 | 69 | 70 | 71 | 72 | 42 | 0 | - ^ ^ ^ ^ - | |-start of data | |-leading zero - |-size of array |-end of data -1.3. Functions. +| 5 | 69 | 70 | 71 | 727 | 420 | 0 | + ^ ^ ^ ^ + | |-start of data | |-leading zero + |-size of array |-end of data +1.3. Functions. As the interface mainly uses `uint64` type for communications, there are 2 functions that are for some reason not present in linux api: `uint64 hton64(uint64)`: Host TO Network: convert uint64 to |