Read a Long from a buffer
Buffer to read from
Whether the number should be unsigned
Whether the number is little-endian
Read a Long from a buffer