Documentation ¶
Index ¶
- Constants
- func AppendQuote(b, s []byte) []byte
- func AppendQuoteString(b []byte, s string) []byte
- func AppendSafe(b, s []byte) []byte
- func AppendSafeString(b []byte, s string) []byte
- func InterfaceData(v interface{}) unsafe.Pointer
- func InterfaceType(v interface{}) unsafe.Pointer
- func NoEscapeBuffer(b []byte) []byte
- func UnpackInterface(v interface{}) (t, p unsafe.Pointer)
- func UnsafeBytesToString(b []byte) string
- func UnsafeString(ptr unsafe.Pointer, l int) string
- type Buf
Constants ¶
View Source
const Spaces = "" /* 128-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AppendQuote ¶
func AppendQuoteString ¶ added in v0.13.0
func AppendSafe ¶
AppendSafe appends string to buffer with JSON compatible esaping. It does NOT add quotes.
func AppendSafeString ¶ added in v0.13.0
func InterfaceData ¶ added in v0.11.0
func InterfaceType ¶ added in v0.20.0
func NoEscapeBuffer ¶ added in v0.21.2
func UnpackInterface ¶ added in v0.20.0
func UnsafeBytesToString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.