Enum libflate_lz77::Code
source · pub enum Code {
Literal(u8),
Pointer {
length: u16,
backward_distance: u16,
},
}
Expand description
A LZ77 encoded data.
Variants§
Literal(u8)
Literal byte.
Pointer
Fields
§
length: u16
Length of the shared data.
The values must be limited to MAX_LENGTH
.
§
backward_distance: u16
Distance between current position and start position of the shared data.
The values must be limited to MAX_DISTANCE
.
Backward pointer to shared data.