Documentation
¶
Index ¶
- Constants
- func DecodeFloat32(buf []byte) float32
- func DecodeFloat64(buf []byte) float64
- func DecodeUint16(buf []byte) uint16
- func DecodeUint32(buf []byte) uint32
- func DecodeUint64(buf []byte) uint64
- func EncodeFloat32(buf []byte, v float32) []byte
- func EncodeFloat64(buf []byte, v float64) []byte
- func EncodeFuncSign(fuc any) (in string, out string)
- func EncodeTypeSign(typ reflect.Type) (s string)
- func EncodeUint16(buf []byte, v uint16) []byte
- func EncodeUint16s(buf []byte, v []uint16)
- func EncodeUint32(buf []byte, v uint32) []byte
- func EncodeUint32s(buf []byte, v []uint32)
- func EncodeUint64(buf []byte, v uint64) []byte
- func EncodeUint64s(buf []byte, v []uint64)
- func ReadBool(r io.Reader) (v bool, n int64, err error)
- func ReadBytes(r io.Reader) (v []byte, n int64, err error)
- func ReadFloat32(r io.Reader) (v float32, n int64, err error)
- func ReadFloat64(r io.Reader) (v float64, n int64, err error)
- func ReadString(r io.Reader) (v string, n int64, err error)
- func ReadType(r io.Reader) (typ reflect.Type, n int64, err error)
- func ReadUint16(r io.Reader) (v uint16, n int64, err error)
- func ReadUint32(r io.Reader) (v uint32, n int64, err error)
- func ReadUint64(r io.Reader) (v uint64, n int64, err error)
- func ReadUint8(r io.Reader) (v uint8, n int64, err error)
- func ReadValue(r io.Reader, typ reflect.Type) (val reflect.Value, n int64, err error)
- func SplitSign(sign string) (signs []string)
- func WriteBool(w io.Writer, v bool) (n int64, err error)
- func WriteBytes(w io.Writer, v []byte) (n int64, err error)
- func WriteFloat32(w io.Writer, v float32) (n int64, err error)
- func WriteFloat64(w io.Writer, v float64) (n int64, err error)
- func WriteString(w io.Writer, v string) (n int64, err error)
- func WriteType(w io.Writer, v reflect.Type) (n int64, err error)
- func WriteUint16(w io.Writer, v uint16) (n int64, err error)
- func WriteUint16s(w io.Writer, v []uint16) (n int64, err error)
- func WriteUint32(w io.Writer, v uint32) (n int64, err error)
- func WriteUint32s(w io.Writer, v []uint32) (n int64, err error)
- func WriteUint64(w io.Writer, v uint64) (n int64, err error)
- func WriteUint64s(w io.Writer, v []uint64) (n int64, err error)
- func WriteUint8(w io.Writer, v uint8) (n int64, err error)
- func WriteValue(w io.Writer, v reflect.Value) (n int64, err error)
Constants ¶
View Source
const ( PointerS = '*' ArrayS = '[' BoolS = 'A' Uint8S = 'B' Uint16S = 'I' Uint32S = 'L' Uint64S = 'Q' Int8S = 'b' Int16S = 'i' Int32S = 'l' Int64S = 'q' Float32S = 'F' Float64S = 'D' StringS = 'S' )
Variables ¶
This section is empty.
Functions ¶
func DecodeFloat32 ¶
func DecodeFloat64 ¶
func DecodeUint16 ¶
func DecodeUint32 ¶
func DecodeUint64 ¶
func EncodeFloat32 ¶
func EncodeFloat64 ¶
func EncodeFuncSign ¶
func EncodeTypeSign ¶
func EncodeUint16 ¶
func EncodeUint16s ¶
func EncodeUint32 ¶
func EncodeUint32s ¶
func EncodeUint64 ¶
func EncodeUint64s ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.