VarInt Encoding For Integers

VarInt is a way of storing integers in such a way that only the bytes required by the integer are used. This means that smaller integers require less memory than larger integers. This method is a lot more efficient than simply using, for example, a 32 bit integer to represent a value such as 200, which should only require 8 bits of storage.

Continue reading VarInt Encoding For Integers

Endianness

The Endianess of a word refers to the byte order which makes up the word. We can either store the MSB (Most Significant Byte) in the smallest address which is known as Big Endian or we can store the LSB (Least Significant Byte) in the smallest address which is known as Little Endian.

Continue reading Endianness