Struct BufReader

pub struct BufReader {
    buf: ~[u8],
    mut pos: uint,
}

Implementation for BufReader

Method new

fn new(v: ~[u8]) -> BufReader

Method as_bytes_reader

fn as_bytes_reader<A>(f: &fn(&BytesReader) -> A) -> A

Implementation of Reader for BufReader

Method read

fn read(bytes: &[mut u8], len: uint) -> uint

Method read_byte

fn read_byte() -> int

Method eof

fn eof() -> bool

Method seek

fn seek(offset: int, whence: io::SeekStyle)

Method tell

fn tell() -> uint