Skip to main content

is_known_encoding

Function is_known_encoding 

Source
pub fn is_known_encoding(enc: u8) -> bool
Expand description

True when this crate can decode the encoding byte.

Encodings 0-6 are defined by the format; anything else means the segment was written by a newer or non-Prometheus implementation.