[][src]Module koibumi_core::io

Traits which provides the serializations into the byte sequences used by the Bitmessage network, and traits which provides the deserializations into the data types used by the Bitmessage protocol.

Structs

TooLongError

This error indicates that the provided length exceeded the maximum.

TrailingBytesError

This error indicates that some trailing bytes remained after reading had finished.

Traits

LenBm

Provides a method that returns the object's byte length when serialized as a Bitmessage entity.

LimitedReadFrom

Provides a method that reads this object as a Bitmessage entity from a reader with a limited item count.

ReadFrom

Provides a method that reads this object as a Bitmessage entity from a reader.

ReadFromExact

Provides a method that reads this object as a Bitmessage entity from a byte array with an exact length.

SizedReadFrom

Provides a method that reads this object as a Bitmessage entity from a reader with a specified byte length.

SizedReadFromExact

Provides a method that reads this object as a Bitmessage entity from a byte array with an exact length.

WriteTo

Provides a method that writes this object as a Bitmessage entity to a writer.