ioutildepr

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAll

func ReadAll(r io.Reader) ([]byte, error)

ReadAll reads from r until an error or EOF and returns the data it read.

func ReadFile

func ReadFile(filename string) ([]byte, error)

ReadFile reads the named file and returns the contents.

func WriteFile

func WriteFile(filename string, data []byte, perm fs.FileMode) error

WriteFile writes data to a file named by filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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