Type Definition gorrosion_gtp::Byte

source ·
pub(crate) type Byte = u8;
Expand description

Despite its name, GTP feels like a binary protocol and we will treat it as such. Consequently, all “text” is a sequence of bytes. To emphasize that these bytes are not used for their numerical value but rather their property of “most generic kind of data” we will explicitly refer to them as Byte instead of u8.