pub fn encode_u8<W>(stream: &mut W, u: u8) -> IoResult<Size>where W: Write,
U8
Result: total bytes that have been written.