low

package
v0.21.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Spaces = "" /* 128-byte string literal not displayed */

Variables

This section is empty.

Functions

func AppendQuote

func AppendQuote(b, s []byte) []byte

func AppendQuoteString added in v0.13.0

func AppendQuoteString(b []byte, s string) []byte

func AppendSafe

func AppendSafe(b, s []byte) []byte

AppendSafe appends string to buffer with JSON compatible esaping. It does NOT add quotes.

func AppendSafeString added in v0.13.0

func AppendSafeString(b []byte, s string) []byte

func InterfaceData added in v0.11.0

func InterfaceData(v interface{}) unsafe.Pointer

func InterfaceType added in v0.20.0

func InterfaceType(v interface{}) unsafe.Pointer

func NoEscapeBuffer added in v0.21.2

func NoEscapeBuffer(b []byte) []byte

func UnpackInterface added in v0.20.0

func UnpackInterface(v interface{}) (t, p unsafe.Pointer)

func UnsafeBytesToString

func UnsafeBytesToString(b []byte) string

func UnsafeString added in v0.11.0

func UnsafeString(ptr unsafe.Pointer, l int) string

Types

type Buf

type Buf []byte

func (*Buf) Bytes added in v0.21.2

func (w *Buf) Bytes() []byte

func (*Buf) Len added in v0.21.2

func (w *Buf) Len() int

func (*Buf) NewLine

func (w *Buf) NewLine()

func (*Buf) Reset added in v0.11.0

func (w *Buf) Reset()

func (*Buf) Write

func (w *Buf) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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