@classmethod
def from_buffer(cls, bfr, end_offset=None, bytes_value=b'\x00'):
    " Parse a BytesRunField by just skipping the specified number of bytes.\n\n        Note: this *does not* check that the skipped bytes contain `bytes_value`.\n\n        Parameters:\n        * `bfr`: the buffer to scan\n        * `end_offset`: the end offset of the scan, which may be\n          an int or Ellipsis to indicate a scan to the end of the\n          buffer\n        * `bytes_value`: the bytes value to replicate, default\n          `b'\x00'`; if this is an int then a single byte of that value\n          is used\n    "
    if end_offset is None:
        raise ValueError('missing end_offset')
    if isinstance(bytes_value, int):
        bytes_value = bytes((bytes_value,))
    offset0 = bfr.offset
    if end_offset is Ellipsis:
        for _ in bfr:
            pass
    else:
        bfr.skipto(end_offset, discard_data=True)
    field = cls(bfr.offset - offset0, bytes_value)
    return field
