pub fn read_set(&mut self, pos: P, count: usize) -> (Vec<&'static [u8]>, P) {

        let mut result = Vec::with_capacity(count);
        let mut pos = pos;
        for _ in 0..count {
            let blob = self.read(pos);
            result.push(blob);

            pos = self.offset(pos, blob.len() + 4);
        };

        (result, pos)
    }
/// Reads a vector of `count` length-prefixed blobs
Reads a vector of `count` length-prefixed blobs
Reads a vector of ` count ` length - prefixed blobs
pub fn read_set(&mut self, pos: P, count: usize) -> (Vec<&'static [u8]>, P) {
        let mut result = Vec::with_capacity(count);
        let mut pos = pos;
        for _ in 0..count {
            let blob = self.read(pos);
            result.push(blob);
            pos = self.offset(pos, blob.len() + 4);
        };
        (result, pos)
    }
pub fn read_set ( & mut self , pos : P , count : usize ) -> ( Vec < & ' static [ u8 ] > , P ) { let mut result = Vec :: with_capacity ( count ) ; let mut pos = pos ; for _ in 0 .. count { let blob = self . read ( pos ) ; result . push ( blob ) ; pos = self . offset ( pos , blob . len ( ) + 4 ) ; } ; ( result , pos ) }
Reads a vector of `count` length-prefixed blobs
Reads a vector of ` count ` length - prefixed blobs
&mut self
pos
P
count
usize
&mut self
pos
P
count
usize