ascii

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Internal package used to work with 7-bit US-ASCII characters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteToDigit

func ByteToDigit[Type constraints.Integer](value byte) Type

Converts the byte value belongs to decimal digital characters to a digit of the specified integer type.

Byte value correctness checks are not performed.

func DigitToByte

func DigitToByte[Type constraints.Integer](digit Type) byte

Converts the digit value to decimal digital character.

Digit value correctness checks are not performed.

func IsDigit

func IsDigit(value byte) bool

Reports whether the byte value belongs to decimal digital characters.

func IsSpace

func IsSpace(value byte) bool

Reports whether the byte value belongs to whitespace characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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