codec

package
v0.0.0-...-46baeaa Latest Latest
Warning

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

Go to latest
Published: May 31, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader, w io.Writer) (os.FileMode, error)

Decode converts a PNG to a file and writes the bytes to the given Writer.

func DecodeFile

func DecodeFile(name string, w io.Writer) (os.FileMode, error)

DecodeFile converts the named PNG to a file and writes the bytes to the given Writer.

func Encode

func Encode(r io.Reader, size uint64, mode os.FileMode, w io.Writer) error

Encode converts a file to a PNG and writes the bytes to the given Writer.

func EncodeFile

func EncodeFile(name string, w io.Writer) error

EncodeFile converts the named file to a PNG and writes the bytes to the given Writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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