Class BinaryWriter allows us to write values of simple types in binary format
Encodings are only relevant if values of type char are written