pub fn slice_from(&self, offset: usize) -> Slice {
        if self.len < offset {
            panic!("Sliced past the end of an appendbuf::Slice,
                   the length was {:?} and the desired offset was {:?}",
                   self.len, offset);
        }

        self.allocinfo().increment();

        Slice {
            alloc: self.alloc,
            offset: self.offset + offset,
            len: self.len - offset
        }
    }
/// Get a subslice starting from the passed offset.
Get a subslice starting from the passed offset.
Get a subslice starting from the passed offset .
pub fn slice_from(&self, offset: usize) -> Slice {
        if self.len < offset {
            panic!("Sliced past the end of an appendbuf::Slice,
                   the length was {:?} and the desired offset was {:?}",
                   self.len, offset);
        }
        self.allocinfo().increment();
        Slice {
            alloc: self.alloc,
            offset: self.offset + offset,
            len: self.len - offset
        }
    }
pub fn slice_from ( & self , offset : usize ) -> Slice { if self . len < offset { panic ! ( " " self len offset ) ; } self . allocinfo ( ) . increment ( ) ; Slice { alloc : self . alloc , offset : self . offset + offset , len : self . len - offset } }
Get a subslice starting from the passed offset.
Get a subslice starting from the passed offset .
&self
offset
usize