Documentation ¶
Index ¶
- type Disk
- type DiskFile
- type File
- type Fs
- type Memory
- type MemoryFile
- func (m *MemoryFile) Close() error
- func (m *MemoryFile) FileSize() (int64, error)
- func (m *MemoryFile) ReadAll() ([]byte, error)
- func (m *MemoryFile) ReadAt(b []byte, off int64) (n int, err error)
- func (m *MemoryFile) Truncate(size int64) error
- func (m *MemoryFile) Write(b []byte) (n int, err error)
- func (m *MemoryFile) WriteAt(b []byte, off int64) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryFile ¶
type MemoryFile struct {
// contains filtered or unexported fields
}
func (*MemoryFile) Close ¶
func (m *MemoryFile) Close() error
func (*MemoryFile) FileSize ¶
func (m *MemoryFile) FileSize() (int64, error)
func (*MemoryFile) ReadAll ¶
func (m *MemoryFile) ReadAll() ([]byte, error)
func (*MemoryFile) Truncate ¶
func (m *MemoryFile) Truncate(size int64) error
Click to show internal directories.
Click to hide internal directories.