Writes value with size in bytes with specified byteOrder into the stream.
Writes Long with specified byteOrder into the stream.