fn parse(buffer: &mut Buffer<'a>) -> Result<Vec<T>, EndOfBufferError> {

        let count = try!(buffer.parse_compact_size());
        let mut result: Vec<T> = Vec::with_capacity(count);
        for _ in 0..count {
            result.push(try!(T::parse(buffer)));
        }
        Ok(result)
    }
/// Parses a compact-size prefix vector of parsable stuff
Parses a compact-size prefix vector of parsable stuff
Parses a compact - size prefix vector of parsable stuff
fn parse(buffer: &mut Buffer<'a>) -> Result<Vec<T>, EndOfBufferError> {
        let count = try!(buffer.parse_compact_size());
        let mut result: Vec<T> = Vec::with_capacity(count);
        for _ in 0..count {
            result.push(try!(T::parse(buffer)));
        }
        Ok(result)
    }
fn parse ( buffer : & mut Buffer < ' a > ) -> Result < Vec < T > , EndOfBufferError > { let count = try ! ( buffer parse_compact_size ( ) ) ; let mut result : Vec < T > = Vec :: with_capacity ( count ) ; for _ in 0 .. count { result . push ( try ! ( T parse ( buffer ) ) ) ; } Ok ( result ) }
Parses a compact-size prefix vector of parsable stuff
Parses a compact - size prefix vector of parsable stuff
buffer
&mut Buffer<'a>
buffer
&mut Buffer<'a>