def lazyByteSlice(object, offset=0, size=None):
        if size is None:
            return object[offset:]
        else:
            return object[offset:(offset + size)]
Return a copy of the given bytes-like object.
dataset/ETHPy150Open twisted/twisted/twisted/python/compat.py/lazyByteSlice