BinaryWrite

WMA link


BinaryWrite[channel, b]

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[channel, x, type]

writes x as the specified type.

BinaryWrite[channel, {$x_1$, $x_2$, ...}, type]

writes a sequence of objects as the specified type.

BinaryWrite[channel, {$x_1$, $x_2$, ...}, {$type_1$, $type_2$, ...}]

writes a sequence of objects using a sequence of specified types.

Write a String

Read as Bytes

Read as Characters

Write Type

BinaryRead