Reputation: 28384
In all of my time programming I have squeaked by without ever learning this stuff. Would love to know more about what these are and how they are used:
See https://nodejs.org/api/buffer.html#buffer_buf_readuint8_offset_noassert for where Node uses these.
Upvotes: 1
Views: 4565
Reputation: 3825
This datatypes are related to number representation in appropriate byte-order. It typically essential for:
It is essential because one system should write integers/floats in such way that will give the same value on reader side. So what format to be used is just convention between two sides (writer and reader).
What acronyms means:
Appropriate number in integers is number of bits in the word.
Upvotes: 1