pub fn emit_repeated<T>(
    this: &Vec<T>,
    tag: u32,
    stream: &mut OutputStream,
    mapper: fn(_: &mut OutputStream, _: u32, _: &T)
)