Documentation ¶
Index ¶
- Variables
- func Copy(dst, src string, mode os.FileMode) error
- func CurrentDir() string
- func Exist(filename string) bool
- func FileHash(filename string, h hash.Hash) (string, error)
- func Folder(filename string) string
- func IsAsciiEOF(b []byte) bool
- func IsValidFileHash(filename string, h hash.Hash, valid string) error
- func ReadAll(r io.ReadCloser) ([]byte, error)
- func ReadBytes(v io.Reader, divide string) ([]byte, error)
- func ReadFull(w io.Writer, r io.Reader, maxSize int) error
- func Rewrite(filename string, call func([]byte) ([]byte, error)) error
- func Search(dir, filename string) ([]string, error)
- func SearchByExt(dir, ext string) ([]string, error)
- func WriteBytes(v io.Writer, b []byte, divide string) error
- type Pool
- type SlicePool
- type TPool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMaximumSize = errors.New("maximum buffer size reached") ErrInvalidSize = errors.New("invalid size") )
Functions ¶
func CurrentDir ¶
func CurrentDir() string
func IsAsciiEOF ¶
func SearchByExt ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.