Trait rscache::checksum::OsrsEncode[][src]

pub trait OsrsEncode {
    fn encode(self) -> Result<Vec<u8>>;
}
Expand description

Consumes the Checksum and encodes it into a byte buffer using the OSRS protocol.

After encoding the checksum it can be sent to the client.

Errors

Returns a CacheError if the encoding fails.

Required methods

Implementors