Documentation ¶
Index ¶
- func JSONAddCommaIfNeeded(w *bytes.Buffer)
- func JSONWriteBool(w *bytes.Buffer, v bool)
- func JSONWriteFloat32(w *bytes.Buffer, v float32)
- func JSONWriteFloat64(w *bytes.Buffer, v float64)
- func JSONWriteInt32(w *bytes.Buffer, v int32)
- func JSONWriteInt64(w *bytes.Buffer, v int64)
- func JSONWriteString(e *bytes.Buffer, s string)
- func JSONWriteStringBytes(e *bytes.Buffer, s []byte)
- func JSONWriteUint32(w *bytes.Buffer, v uint32)
- func JSONWriteUint64(w *bytes.Buffer, v uint64)
- func PeekTag(r *bytes.Buffer) (uint32, error)
- func PutUint32(b []byte, v uint32)
- func ReadExactTag(r *bytes.Buffer, tag uint32) error
- func ReadFloat32(r *bytes.Buffer, dst *float32) error
- func ReadFloat64(r *bytes.Buffer, dst *float64) error
- func ReadInt32(r *bytes.Buffer, dst *int32) error
- func ReadInt64(r *bytes.Buffer, dst *int64) error
- func ReadLength32(r *bytes.Buffer, n *int, minObjectSize int) error
- func ReadString(r *bytes.Buffer, dst *string) error
- func ReadStringBytes(r *bytes.Buffer, dst *[]byte) error
- func ReadUint32(r *bytes.Buffer, dst *uint32) error
- func ReadUint64(r *bytes.Buffer, dst *uint64) error
- func StringSize(length int) int
- func WriteFloat32(w *bytes.Buffer, v float32)
- func WriteFloat64(w *bytes.Buffer, v float64)
- func WriteInt32(w *bytes.Buffer, v int32)
- func WriteInt64(w *bytes.Buffer, v int64)
- func WriteString(w *bytes.Buffer, v string) error
- func WriteStringBytes(w *bytes.Buffer, v []byte) error
- func WriteUint32(w *bytes.Buffer, v uint32)
- func WriteUint64(w *bytes.Buffer, v uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONAddCommaIfNeeded ¶
func JSONWriteBool ¶
func JSONWriteFloat32 ¶
func JSONWriteFloat64 ¶
func JSONWriteInt32 ¶
func JSONWriteInt64 ¶
func JSONWriteString ¶
func JSONWriteStringBytes ¶
NOTE: keep in sync with string above.
func JSONWriteUint32 ¶
func JSONWriteUint64 ¶
func ReadLength32 ¶
ReadLength32 prevents allocation of buffers if len objects of minObjectSize cannot fit into remaining buffer length
func StringSize ¶
func WriteFloat32 ¶
func WriteFloat64 ¶
func WriteInt32 ¶
func WriteInt64 ¶
func WriteUint32 ¶
func WriteUint64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.