public interface Rebufferer extends ReaderFileProxy
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Rebufferer.BufferHolder | 
| Modifier and Type | Field and Description | 
|---|---|
| static Rebufferer.BufferHolder | EMPTY | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closeReader()Called when a reader is closed. | 
| Rebufferer.BufferHolder | rebuffer(long position)Rebuffer (move on or seek to) a given position, and return a buffer that can be used there. | 
channel, close, fileLength, getCrcCheckChancestatic final Rebufferer.BufferHolder EMPTY
Rebufferer.BufferHolder rebuffer(long position)
offset <= position < offset + bh.buffer().limit(), but the buffer will not be positioned there.void closeReader()
Copyright © 2018 The Apache Software Foundation