pub fn encode<W, T>(w: W, value: T) -> Result<(), W::Error> where W: Writer, T: Unsigned,
Encode the given length using variable length encoding.