Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 356 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 356 Bytes

add-nbo

syntax : add-nbo <file1> <file2>
sample : add-nbo a.bin c.bin

example

$ echo -n -e \\x00\\x00\\x03\\xe8 > thousand.bin

$ echo -n -e \\x00\\x00\\x01\\xf4 > five-hundred.bin

$ ./add-nbo thousand.bin five-hundred.bin

1000(0x3e8) + 500(0x1f4) = 1500(0x5dc)

https://gitlab.com/gilgil/sns/-/wikis/byte-order/report-add-nbo