vlib: fix typos (endianess -> endianness) (#21099)

This commit is contained in:
RoboSchmied 2024-03-26 09:32:10 +01:00 committed by GitHub
parent b01e091473
commit 2db9c82d26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -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]