[−][src]Trait libquassel::Serialize
Serialization of types and structs to the quassel byteprotocol
Required methods
Loading content...Implementations on Foreign Types
impl Serialize for OffsetDateTime
[src]
impl Serialize for i64
[src]
impl Serialize for i32
[src]
impl Serialize for i16
[src]
impl Serialize for i8
[src]
impl Serialize for String
[src]
We Shadow the String type here as we can only use impl on types in our own scope.
Strings are serialized as an i32 for the length in bytes, then the chars represented in UTF-16 in bytes.
Strings can only be serialized as UTF-8 null-terminated ByteArrays with (de)serialize_utf8().