BinaryWrite

BinaryWrite[channelb]
writes a single byte given as an integer from 0 to 255.
BinaryWrite[channel, {b1, b2, ...}]
writes a sequence of byte.
BinaryWrite[channel, “string”]
writes the raw characters in a string.
BinaryWrite[channelxtype]
writes x as the specified type.
BinaryWrite[channel, {x1x2, ...}, type]
writes a sequence of objects as the specified type.
BinaryWrite[channel, {x1x2, ...}, {type1type2, ...}]
writes a sequence of objects using a sequence of specified types.

Write a String

Read as Bytes

Read as Characters

Write Type