Documentation ¶
Index ¶
- Variables
- func MarshalToString(obj interface{}) string
- func WriteBytes(space []byte, s []byte) []byte
- func WriteFloat32(space []byte, val float32) []byte
- func WriteFloat32Lossy(space []byte, val float32) []byte
- func WriteFloat64(space []byte, val float64) []byte
- func WriteFloat64Lossy(space []byte, val float64) []byte
- func WriteInt16(space []byte, nval int16) []byte
- func WriteInt32(space []byte, nval int32) []byte
- func WriteInt64(space []byte, nval int64) []byte
- func WriteInt8(space []byte, nval int8) []byte
- func WriteString(space []byte, str string) []byte
- func WriteUint16(space []byte, val uint16) []byte
- func WriteUint32(space []byte, val uint32) []byte
- func WriteUint64(space []byte, val uint64) []byte
- func WriteUint8(space []byte, val uint8) []byte
- type API
- type Config
- type Encoder
- type Extension
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDefault = Config{}.Froze()
Functions ¶
func MarshalToString ¶
func MarshalToString(obj interface{}) string
func WriteBytes ¶
func WriteFloat32 ¶
WriteFloat32 write float32 to stream
func WriteFloat32Lossy ¶
WriteFloat32Lossy write float32 to stream with ONLY 6 digits precision although much much faster
func WriteFloat64 ¶
WriteFloat64 write float64 to stream
func WriteFloat64Lossy ¶
WriteFloat64Lossy write float64 to stream with ONLY 6 digits precision although much much faster
func WriteInt16 ¶
func WriteInt32 ¶
func WriteInt64 ¶
func WriteString ¶
func WriteUint16 ¶
func WriteUint32 ¶
func WriteUint64 ¶
func WriteUint8 ¶
Types ¶
type Encoder ¶
func EncoderOfObject ¶
func EncoderOfObject(obj interface{}) Encoder
Click to show internal directories.
Click to hide internal directories.