pub fn trim_spaces<'a>(
    payload: &'static [u8],
    pointer_context: &'a mut PointerContext
)