pub type DiplomatByte = u8;Expand description
Like u8, but interpreted explicitly as a raw byte as opposed to a numerical value.
This matters for languages like JavaScript or Dart, where there’s only a single numeric
type, but special types for byte buffers.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte