def get_block_extension(rawdata=None, **kwargs):
    """Returns the label of the upcoming extension."""
    try:
        data = rawdata.peek(2)
        if len(data) < 2:
            return
        return int.from_bytes(data[1:2], byteorder='little')
    except AttributeError:
        pass
