virtfp

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtFile

type VirtFile struct {
	// contains filtered or unexported fields
}

func OpenVirtFile

func OpenVirtFile(name string) *VirtFile

func (*VirtFile) Close

func (vfp *VirtFile) Close() error

func (*VirtFile) Name

func (vfp *VirtFile) Name() string

func (*VirtFile) Read

func (vfp *VirtFile) Read(p []byte) (int, error)

func (*VirtFile) ReadAt

func (vfp *VirtFile) ReadAt(p []byte, off int64) (int, error)

func (*VirtFile) Seek

func (vfp *VirtFile) Seek(off int64, whence int) (int64, error)

func (*VirtFile) Size

func (vfp *VirtFile) Size() int

func (*VirtFile) Sync

func (vfp *VirtFile) Sync() error

func (*VirtFile) Truncate

func (vfp *VirtFile) Truncate(size int64) error

func (*VirtFile) Write

func (vfp *VirtFile) Write(p []byte) (int, error)

func (*VirtFile) WriteAt

func (vfp *VirtFile) WriteAt(p []byte, off int64) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL