Documentation ¶
Index ¶
Constants ¶
View Source
const ( SEEK_DATA = 3 SEEK_HOLE = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SparseFileReader ¶
type SparseFileReader struct {
// contains filtered or unexported fields
}
func NewSparseFileReader ¶
func NewSparseFileReader(file *os.File) (*SparseFileReader, error)
func (*SparseFileReader) Close ¶
func (self *SparseFileReader) Close() error
func (*SparseFileReader) GetHoles ¶
func (self *SparseFileReader) GetHoles() []sSparseHole
func (*SparseFileReader) HeaderSize ¶
func (self *SparseFileReader) HeaderSize() int64
func (*SparseFileReader) Size ¶
func (self *SparseFileReader) Size() int64
type SparseFileWrite ¶
type SparseFileWrite struct {
// contains filtered or unexported fields
}
func NewSparseFileWriter ¶
func NewSparseFileWriter(f *os.File, headerSize int64, size int64) *SparseFileWrite
func (*SparseFileWrite) Close ¶
func (self *SparseFileWrite) Close() error
Click to show internal directories.
Click to hide internal directories.