Module webrtc_sctp::util[][src]

Utility functions useful for debugging and development.

Modules

buffer
serial

Provide traits and structs to abstract RFC 1982 serial number arithmetic. This is use, for example, to compare transmission sequence numbers (TSNs).

Structs

Hex

A byte slice wrapped in Hex is printable as a hex dump.

Functions

hex

Wrap the provided byte slice in a Hex to allow it to be printable as a hex dump.

hexdump

Generate a hexdump of the provided byte slice.

shorthash

For debugging purposes, return a short hash of the supplied byte buffer.