ascii

package
v2.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Valid

func Valid(b []byte) bool

Valid returns true if b contains only ASCII characters.

func ValidByte

func ValidByte(b byte) bool

ValidBytes returns true if b is an ASCII character.

func ValidPrint

func ValidPrint(b []byte) bool

Valid returns true if b contains only printable ASCII characters.

func ValidPrintByte

func ValidPrintByte(b byte) bool

ValidBytes returns true if b is an ASCII character.

func ValidPrintRune

func ValidPrintRune(r rune) bool

ValidBytes returns true if b is an ASCII character.

func ValidPrintString

func ValidPrintString(s string) bool

ValidString returns true if s contains only printable ASCII characters.

func ValidRune

func ValidRune(r rune) bool

ValidBytes returns true if b is an ASCII character.

func ValidString

func ValidString(s string) bool

ValidString returns true if s contains only ASCII characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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