Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ChunkReaderAt ¶
type ChunkReaderAt struct {
// contains filtered or unexported fields
}
ChunkReaderAt implement io.ReaderAt interface
func NewChunkReaderAt ¶
func NewChunkReaderAt(rd io.ReaderAt, size, chunkSize int64, bufferSize int) (*ChunkReaderAt, error)
NewChunkReaderAt create a new ChunkReaderAt rd is a source io.ReaderAt + a Size() function mandatory for zip manipulation. chunkSize is the size of a chunk put in cache. bufferSize is the number of chunk stored in cache with an ARC eviction mecanism.
func (*ChunkReaderAt) Size ¶ added in v0.2.0
func (r *ChunkReaderAt) Size() int64
Size return size of source
Click to show internal directories.
Click to hide internal directories.