Versions in this module Expand all Collapse all v1 v1.2.1 Dec 7, 2018 Changes in this version + var DONTESCAPE = byte(255) + var NULL = Value + var SqlDecodeMap [256]byte + var SqlEncodeMap [256]byte + type BinWriter interface + Write func([]byte) (int, error) + WriteByte func(byte) error + type Fractional []byte + type InnerValue interface + type Numeric []byte + func (n Numeric) MarshalJSON() ([]byte, error) + type String []byte + type Value struct + Inner InnerValue + func BuildNumeric(val string) (n Value, err error) + func BuildValue(goval interface{}) (v Value, err error) + func MakeFractional(b []byte) Value + func MakeNumeric(b []byte) Value + func MakeString(b []byte) Value + func (v *Value) UnmarshalBson(buf *bytes.Buffer, kind byte) + func (v *Value) UnmarshalJSON(b []byte) error + func (v Value) EncodeAscii(b BinWriter) + func (v Value) EncodeSql(b BinWriter) + func (v Value) IsFractional() (ok bool) + func (v Value) IsNull() bool + func (v Value) IsNumeric() (ok bool) + func (v Value) IsString() (ok bool) + func (v Value) MarshalBson(buf *bytes2.ChunkedWriter, key string) + func (v Value) MarshalJSON() ([]byte, error) + func (v Value) ParseInt64() (val int64, err error) + func (v Value) ParseUint64() (val uint64, err error) + func (v Value) Raw() []byte + func (v Value) String() string v1.0.0 May 4, 2019