Skip to main content

Module utils

Module utils 

Source
Expand description

Provides IO utility functions for read bytes of different length and converting to corresponding structs.

Structs§

ComparableRegex

Traits§

ReadUtils

Functions§

convert_timestamp
Convert a f64 timestamp into u32 seconds and u32 microseconds.
crc32
A CRC32 implementation that converts a string to a hex string.
encode_asn
encode_ipaddr
encode_nlri_prefixes
parse_nlri_list