(self,length)
return bytes(self.data[start:end])
Gen len bytes at current offset (& increment offset)
Gen len bytes at current offset (& increment offset)
Gen len bytes at current offset ( & increment offset )
def get(self,length):
        """
            Gen len bytes at current offset (& increment offset)
        """
        if length > self.remaining():
            raise BufferError("Not enough bytes [offset=%d,remaining=%d,requested=%d]" %
                    (self.offset,self.remaining(),length))
        start = self.offset
        end = self.offset + length
        self.offset += length
        return bytes(self.data[start:end])
def get ( self , length ) : if length > self . remaining ( ) : raise BufferError ( "Not enough bytes [offset=%d,remaining=%d,requested=%d]" % ( self . offset , self . remaining ( ) , length ) ) start = self . offset end = self . offset + length self . offset += length return bytes ( self . data [ start : end ] )