ascii

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

Writer is a wrapper over strings.Builder which only writes ASCII characters.

Attempting to write a non-ASCII character will return an error.

func (*Writer) String

func (w *Writer) String() string

func (*Writer) Write

func (w *Writer) Write(s []byte) (int, error)

func (*Writer) WriteString

func (w *Writer) WriteString(s string) (int, error)

Jump to

Keyboard shortcuts

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