fix write
to bswap and use the correct size
#83
Closed
write
to bswap and use the correct size
#83