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