singleasciiencode

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeNumber64

func DecodeNumber64(e byte) (byte, bool)

func EncodeNumber64

func EncodeNumber64(n byte) byte

Types

type FlagEncoder

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

func Decode

func Decode(flags byte, names ...string) *FlagEncoder

func NewFlagEncoder

func NewFlagEncoder() *FlagEncoder

func (FlagEncoder) Encode

func (fe FlagEncoder) Encode() byte

func (FlagEncoder) Get

func (fe FlagEncoder) Get(name string) (value, found bool)

func (*FlagEncoder) Set

func (fe *FlagEncoder) Set(name string, value bool) bool

func (*FlagEncoder) Sets

func (fe *FlagEncoder) Sets(values map[string]bool) bool

Jump to

Keyboard shortcuts

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