def METHOD_NAME():
    f = feedparser.encodings.ResetFileWrapper(io.BytesIO(b"abcdef"))
    assert f.read(2) == b"ab"
    f.reset()
    assert f.read() == b"abcdef"
    f = io.BytesIO(b"abcdef")
    f.read(2)
    f = feedparser.encodings.ResetFileWrapper(f)
    assert f.read(2) == b"cd"
    f.reset()
    assert f.read() == b"cdef"
    f = feedparser.encodings.ResetFileWrapper(Unseekable(b"abcdef"))
    assert f.read() == b"abcdef"
    assert f.read() == b""
    with pytest.raises(io.UnsupportedOperation):
        f.reset()
    assert f.read() == b""
    f = feedparser.encodings.ResetFileWrapper(Unseekable(b"abcdef"))
    assert f.read(3) == b"abc"
    with pytest.raises(io.UnsupportedOperation):
        f.reset()
    assert f.read() == b"def"