@classmethod
def value_from_buffer(cls, bfr, length=None):
    """ Parse a `BytesField` of length `length` from `bfr`.
    """
    if length < 0:
        raise ValueError('length(%d) < 0' % (length,))
    return bfr.take(length)
