mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vlib: fix typos (endianess
-> endianness
) (#21099)
This commit is contained in:
parent
b01e091473
commit
2db9c82d26
3 changed files with 4 additions and 4 deletions
|
@ -129,7 +129,7 @@ fn decode_from_buffer(dest &u8, src &u8, src_len int) int {
|
|||
u8(index[d[si + 2]]), u8(index[d[si + 3]]), u8(index[d[si + 4]]), u8(index[d[si + 5]]),
|
||||
u8(index[d[si + 6]]), u8(index[d[si + 7]]))
|
||||
|
||||
// Reading out the individual bytes from the u64. Watch out with endianess.
|
||||
// Reading out the individual bytes from the u64. Watch out with endianness.
|
||||
$if little_endian {
|
||||
b[n_decoded_bytes + 0] = datablock_64.data_byte[7]
|
||||
b[n_decoded_bytes + 1] = datablock_64.data_byte[6]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue