Versions in this module Expand all Collapse all v0 v0.7.3 Mar 2, 2018 v0.7.2 Dec 6, 2017 Changes in this version + type TMEncoder interface + EncodeBool func(b bool) []byte + EncodeFloat32 func(f float32) []byte + EncodeFloat64 func(f float64) []byte + EncodeInt16 func(i int16) []byte + EncodeInt32 func(i int32) []byte + EncodeInt64 func(i int64) []byte + EncodeInt8 func(i int8) []byte + EncodeOctet func(b byte) []byte + EncodeOctets func(b []byte) []byte + EncodeTime func(t time.Time) []byte + EncodeUint16 func(i uint16) []byte + EncodeUint16s func(iz []uint16) []byte + EncodeUint32 func(i uint32) []byte + EncodeUint64 func(i uint64) []byte + EncodeUint8 func(i uint8) []byte + EncodeUvarint func(i uint) []byte + EncodeVarint func(i int) []byte + type TMEncoderBuilder interface + Bytes func() []byte + EncodeBool func(b bool) TMEncoderBuilder + EncodeFloat32 func(f float32) TMEncoderBuilder + EncodeFloat64 func(f float64) TMEncoderBuilder + EncodeInt16 func(i int16) TMEncoderBuilder + EncodeInt32 func(i int32) TMEncoderBuilder + EncodeInt64 func(i int64) TMEncoderBuilder + EncodeInt8 func(i int8) TMEncoderBuilder + EncodeOctet func(b byte) TMEncoderBuilder + EncodeOctets func(b []byte) TMEncoderBuilder + EncodeTime func(t time.Time) TMEncoderBuilder + EncodeUint16s func(iz []uint16) TMEncoderBuilder + EncodeUint32 func(i uint32) TMEncoderBuilder + EncodeUint64 func(i uint64) TMEncoderBuilder + EncodeUint8 func(i uint8) TMEncoderBuilder + EncodeUvarint func(i uint) TMEncoderBuilder + EncodeVarint func(i int) TMEncoderBuilder + type TMEncoderChain struct + func NewTMEncoderChain(pure TMEncoderPure) *TMEncoderChain + func (a *TMEncoderChain) Bytes() []byte + func (a *TMEncoderChain) EncodeBool(b bool) TMEncoderBuilder + func (a *TMEncoderChain) EncodeFloat32(f float32) TMEncoderBuilder + func (a *TMEncoderChain) EncodeFloat64(f float64) TMEncoderBuilder + func (a *TMEncoderChain) EncodeInt16(i int16) TMEncoderBuilder + func (a *TMEncoderChain) EncodeInt32(i int32) TMEncoderBuilder + func (a *TMEncoderChain) EncodeInt64(i int64) TMEncoderBuilder + func (a *TMEncoderChain) EncodeInt8(i int8) TMEncoderBuilder + func (a *TMEncoderChain) EncodeOctet(b byte) TMEncoderBuilder + func (a *TMEncoderChain) EncodeOctets(b []byte) TMEncoderBuilder + func (a *TMEncoderChain) EncodeTime(t time.Time) TMEncoderBuilder + func (a *TMEncoderChain) EncodeUint16s(iz []uint16) TMEncoderBuilder + func (a *TMEncoderChain) EncodeUint32(i uint32) TMEncoderBuilder + func (a *TMEncoderChain) EncodeUint64(i uint64) TMEncoderBuilder + func (a *TMEncoderChain) EncodeUint8(i uint8) TMEncoderBuilder + func (a *TMEncoderChain) EncodeUvarint(i uint) TMEncoderBuilder + func (a *TMEncoderChain) EncodeVarint(i int) TMEncoderBuilder + type TMEncoderFastIOWriter interface + WriteBool func(b bool, w io.Writer, n *int, err *error) + WriteFloat32 func(f float32, w io.Writer, n *int, err *error) + WriteFloat64 func(f float64, w io.Writer, n *int, err *error) + WriteInt16 func(i int16, w io.Writer, n *int, err *error) + WriteInt32 func(i int32, w io.Writer, n *int, err *error) + WriteInt64 func(i int64, w io.Writer, n *int, err *error) + WriteInt8 func(i int8, w io.Writer, n *int, err *error) + WriteOctet func(b byte, w io.Writer, n *int, err *error) + WriteOctetSlice func(bz []byte, w io.Writer, n *int, err *error) + WriteTime func(t time.Time, w io.Writer, n *int, err *error) + WriteTo func(bz []byte, w io.Writer, n *int, err *error) + WriteUint16 func(i uint16, w io.Writer, n *int, err *error) + WriteUint16s func(iz []uint16, w io.Writer, n *int, err *error) + WriteUint32 func(i uint32, w io.Writer, n *int, err *error) + WriteUint64 func(i uint64, w io.Writer, n *int, err *error) + WriteUint8 func(i uint8, w io.Writer, n *int, err *error) + WriteUvarint func(i uint, w io.Writer, n *int, err *error) + WriteVarint func(i int, w io.Writer, n *int, err *error) + type TMEncoderPure struct + func (e TMEncoderPure) EncodeBool(b bool) []byte + func (e TMEncoderPure) EncodeFloat32(f float32) []byte + func (e TMEncoderPure) EncodeFloat64(f float64) []byte + func (e TMEncoderPure) EncodeInt16(i int16) []byte + func (e TMEncoderPure) EncodeInt32(i int32) []byte + func (e TMEncoderPure) EncodeInt64(i int64) []byte + func (e TMEncoderPure) EncodeInt8(i int8) []byte + func (e TMEncoderPure) EncodeOctet(b byte) []byte + func (e TMEncoderPure) EncodeOctets(b []byte) []byte + func (e TMEncoderPure) EncodeTime(t time.Time) []byte + func (e TMEncoderPure) EncodeUint16(i uint16) []byte + func (e TMEncoderPure) EncodeUint16s(iz []uint16) []byte + func (e TMEncoderPure) EncodeUint32(i uint32) []byte + func (e TMEncoderPure) EncodeUint64(i uint64) []byte + func (e TMEncoderPure) EncodeUint8(i uint8) []byte + func (e TMEncoderPure) EncodeUvarint(i uint) []byte + func (e TMEncoderPure) EncodeVarint(i int) []byte