ioutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustOpen

func MustOpen(r io.ReadCloser, err error) io.ReadCloser

func MustOpenZipReader

func MustOpenZipReader(name string) *zip.ReadCloser

func ReadInt32

func ReadInt32(r io.Reader, i *int32) (err error)

ReadInt32 reads four bytes into the provided int32 pointer in BigEndian order

func ReadInt64

func ReadInt64(r io.Reader, i *int64) (err error)

ReadInt32 reads eight bytes into the provided int64 pointer in BigEndian order

func ReadUint16

func ReadUint16(r io.Reader, i *uint16) (err error)

ReadUint16 reads two bytes into the provided uint16 pointer in BigEndian order

func ReadUint32

func ReadUint32(r io.Reader, i *uint32) (err error)

ReadUint32 reads four bytes into the provided uint32 pointer in BigEndian order

func ReadUint8

func ReadUint8(r io.Reader, i *uint8) (err error)

ReadUint8 reads one byte into the provided uint8 pointer

func ReadZipFile

func ReadZipFile(f *zip.File) (bb *bytes.Buffer, err error)

func ScanLines

func ScanLines(reader io.ReadCloser, eachLine func(line string))

Types

This section is empty.

Jump to

Keyboard shortcuts

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