internal/back_ref

Types

pub type BackRef {
  BackRef(len: Int, offset: Int)
}

Constructors

  • BackRef(len: Int, offset: Int)

Functions

pub fn resolve(
  ref: BackRef,
  data: BitArray,
  current_pos: Int,
) -> Result(String, Nil)
pub fn to_bit_array(ref: BackRef) -> BitArray
pub fn to_string(ref: BackRef) -> String
Search Document