escape

package
v0.0.0-...-7847555 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

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

Decoder decodes an io.Reader.

func Decode

func Decode(r io.Reader) *Decoder

Decode wraps the given io.Reader in a decoder.

func (*Decoder) Read

func (d *Decoder) Read(p []byte) (n int, err error)

Read reads from the underlying reader, populating the buffer p.

type Encoder

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

Encoder encodes an io.Reader.

func Encode

func Encode(r io.Reader) *Encoder

Encode wraps the given io.Reader in an encoder.

func (*Encoder) Read

func (e *Encoder) Read(p []byte) (n int, err error)

Read reads from the underlying reader, populating the buffer p.

Jump to

Keyboard shortcuts

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