Documentation ¶
Overview ¶
22 october 2015
Index ¶
Constants ¶
View Source
const SectorSize = 512
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
type Disk struct {
// contains filtered or unexported fields
}
Disk is currently not safe for concurrent use.
func (*Disk) ReverseIter ¶
func (d *Disk) ReverseIter(startAt int64) (*SectorIter, error)
TODO allow different sized iter blocks if we ever split this into its own package; this requires handling the last short read in Next()
type SectorIter ¶
type SectorIter struct {
// contains filtered or unexported fields
}
func (*SectorIter) Err ¶
func (s *SectorIter) Err() error
func (*SectorIter) Next ¶
func (s *SectorIter) Next() bool
func (*SectorIter) Pos ¶
func (s *SectorIter) Pos() int64
func (*SectorIter) Sectors ¶
func (s *SectorIter) Sectors() []byte
Click to show internal directories.
Click to hide internal directories.