Documentation ¶
Index ¶
- Constants
- func Encode(w io.Writer, val interface{}) (int, error)
- func EncodeToBytes(val interface{}) ([]byte, error)
- func MustEncodeToBytes(val interface{}) []byte
- func WriteBool(w io.Writer, v bool) (int, error)
- func WriteBytes(w io.Writer, v []byte) (int, error)
- func WriteEnumIndex(w io.Writer, index int) (int, error)
- func WriteInt16(w io.Writer, v int16) (int, error)
- func WriteInt32(w io.Writer, v int32) (int, error)
- func WriteInt64(w io.Writer, v int64) (int, error)
- func WriteInt8(w io.Writer, v int8) (int, error)
- func WriteLen(w io.Writer, len int) (int, error)
- func WriteOption(w io.Writer, some bool) (int, error)
- func WriteString(w io.Writer, v string) (int, error)
- func WriteUint16(w io.Writer, v uint16) (int, error)
- func WriteUint32(w io.Writer, v uint32) (int, error)
- func WriteUint64(w io.Writer, v uint64) (int, error)
- func WriteUint8(w io.Writer, v uint8) (int, error)
Constants ¶
View Source
const (
MAX_SEQUENCE_LENGTH = (1 << 31) - 1
)
Variables ¶
This section is empty.
Functions ¶
func EncodeToBytes ¶
func MustEncodeToBytes ¶
func MustEncodeToBytes(val interface{}) []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.