pub fn record_end(buf: &[u8], pos: usize, stop: usize) -> Result<usize>
From just after an RS, find the end of the record: the next record-level code at this depth. Returns that position.