Documentation ¶
Index ¶
- func Marshal(obj interface{}) (data []byte, errMsg string)
- func Unmarshal(data []byte, obj interface{}) (errMsg string)
- type ReadUvarintResp
- type ShmReader
- type ShmWriter
- func (w *ShmWriter) Flush() (errMsg string)
- func (w *ShmWriter) WriteArrayEnd()
- func (w *ShmWriter) WriteArrayStart()
- func (w *ShmWriter) WriteByteSlice(buf []byte)
- func (w *ShmWriter) WriteString(s string)
- func (w *ShmWriter) WriteUvarint(v uint64)
- func (w *ShmWriter) WriteValue(a interface{}) (errMsg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadUvarintResp ¶
type ShmReader ¶
type ShmReader struct {
// contains filtered or unexported fields
}
func (*ShmReader) ReadArrayEnd ¶
func (*ShmReader) ReadArrayStart ¶
func (*ShmReader) ReadOneString ¶
func (*ShmReader) ReadUvarint ¶
type ShmWriter ¶
type ShmWriter struct {
// contains filtered or unexported fields
}
func (*ShmWriter) WriteArrayEnd ¶
func (w *ShmWriter) WriteArrayEnd()
func (*ShmWriter) WriteArrayStart ¶
func (w *ShmWriter) WriteArrayStart()
func (*ShmWriter) WriteByteSlice ¶
func (*ShmWriter) WriteString ¶
func (*ShmWriter) WriteUvarint ¶
func (*ShmWriter) WriteValue ¶
Click to show internal directories.
Click to hide internal directories.