'Returns (new_offset, object)'

@classmethod
def unpack_new(cls, n_bits, raw, offset):

    o = cls.__new__(cls)
    o.n_bits = n_bits
    datalen = len(o)
    if (datalen != 0):
        (offset, o.data) = of._read(raw, offset, datalen)
    return (offset, o)
