[][src]Module tox_packet::toxid

Tox ID and stuff related to it.

https://zetok.github.io/tox-spec/#tox-id

Structs

NoSpam

NoSpam used in ToxId.

ToxId

Tox ID.

Constants

CHECKSUMBYTES

Number of bytes that checksum of ToxId has.

NOSPAMBYTES

Number of bytes that NoSpam has.

TOXIDBYTES

Number of bytes of serialized ToxId.

Functions

xor_checksum

Calculate XOR checksum for 2 [u8; 2].