mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
fix data_buffer:put_number
This commit is contained in:
parent
57356e1d64
commit
e247902cc6
2 changed files with 9 additions and 9 deletions
|
|
@ -313,8 +313,8 @@ function bit_converter.bytes_to_uint16(bytes, order)
|
|||
|
||||
return
|
||||
bit.bor(
|
||||
bit.lshift(bytes[1], 8),
|
||||
bytes[2], 0)
|
||||
bit.lshift(bytes[2], 8),
|
||||
bytes[1], 0)
|
||||
end
|
||||
|
||||
function bit_converter.bytes_to_int64(bytes, order)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue