ddd

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Escape added in v0.0.4

func Escape(b byte) string

Escape returns the \DDD escaping of b which must satisfy b < ' ' || b > '~'.

func Is

func Is[T ~[]byte | ~string](s T) bool

func IsDigit

func IsDigit(b byte) bool

func IsLetter

func IsLetter(b byte) bool

func Next added in v0.0.4

func Next(s string, offset int) (byte, int)

func ShouldEscape added in v0.1.8

func ShouldEscape(b byte) bool

ShouldEscape returns true if a domain name label byte should be prefixed with an escaping backslash.

func ToByte

func ToByte[T ~[]byte | ~string](s T) byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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