ascii85

package
v0.0.0-...-fab57c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package ascii85 provides a mockable wrapper for encoding/ascii85.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) Decode

func (*Impl) Decode(dst []byte, src []byte, flush bool) (ndst int, nsrc int, err error)

func (*Impl) Encode

func (*Impl) Encode(dst []byte, src []byte) int

func (*Impl) MaxEncodedLen

func (*Impl) MaxEncodedLen(n int) int

func (*Impl) NewDecoder

func (*Impl) NewDecoder(r io.Reader) io.Reader

func (*Impl) NewEncoder

func (*Impl) NewEncoder(w io.Writer) io.WriteCloser

type Interface

type Interface interface {
	Decode(dst []byte, src []byte, flush bool) (ndst int, nsrc int, err error)
	Encode(dst []byte, src []byte) int
	MaxEncodedLen(n int) int
	NewDecoder(r io.Reader) io.Reader
	NewEncoder(w io.Writer) io.WriteCloser
}

Jump to

Keyboard shortcuts

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