fix bit_converter.bytes_to_uint16

This commit is contained in:
MihailRis 2025-01-19 22:38:22 +03:00
parent 0b2e089ecf
commit 0e95d9d1af

View File

@ -313,8 +313,8 @@ function bit_converter.bytes_to_uint16(bytes, order)
return
bit.bor(
bit.lshift(bytes[2], 8),
bytes[1], 0)
bit.lshift(bytes[1], 8),
bytes[2], 0)
end
function bit_converter.bytes_to_int64(bytes, order)