// Int8Null decodes the JSON value within an object or an array to an *int.
// If next key value overflows int8, an InvalidUnmarshalError error will be returned.
775082
func (dec *Decoder) Int8Null(v **int8) error {
	err := dec.decodeInt8Null(v)
	if err != nil {
		return err
	}
	dec.called |= 1
	return nil
}
382456
func (c Context) Int8(key string, i int8) Context {
	c.l.context = enc.AppendInt8(enc.AppendKey(c.l.context, key), i)
	return c
}
203867
func (c *ColumnMap) SetNotNull(nn bool) *ColumnMap {
	c.isNotNull = nn
	return c
}
1198102
func (primative *Primative) AsNull() (interface{}, error) {
	switch val := primative.value.(type) {
	case nil:
		return val, nil
	}

	msg := fmt.Sprintf("Could not convert value %s to nil", primative.value)
	return 0, errors.New(msg)
}
273433
func (enc *Encoder) Uint16KeyNullEmpty(key string, v uint16) {
	enc.Uint64KeyNullEmpty(key, uint64(v))
}
729088
func (c Context) Uint8(key string, i uint8) Context {
	c.l.context = enc.AppendUint8(enc.AppendKey(c.l.context, key), i)
	return c
}
1311324
func (r *Lexer) fetchNull() {
	r.pos += 4
	if r.pos > len(r.Data) ||
		r.Data[r.pos-3] != 'u' ||
		r.Data[r.pos-2] != 'l' ||
		r.Data[r.pos-1] != 'l' ||
		(r.pos != len(r.Data) && !isTokenEnd(r.Data[r.pos])) {

		r.pos -= 4
		r.errSyntax()
	}
}
948139
func (be *BinaryEncoder) WriteInt8(value int8) {
	be.buffer[be.pos] = byte(value)
	be.pos++
}
250232
func Int8(v int8) *int8 {
	p := new(int8)
	*p = v
	return p
}
557376
func ConvertUint8(str string) (uint8, error) {
	i, err := strconv.ParseUint(str, 10, 8)
	if err != nil {
		return 0, err
	}
	return uint8(i), nil
}
1139499
func (dec *Decoder) DecodeInt8(v *int8) error {
	if dec.isPooled == 1 {
		panic(InvalidUsagePooledDecoderError("Invalid usage of pooled decoder"))
	}
	return dec.decodeInt8(v)
}
129922
func (e *Event) Ints8(key string, i []int8) *Event {
	if e == nil {
		return e
	}
	e.buf = enc.AppendInts8(enc.AppendKey(e.buf, key), i)
	return e
}
1309154
func (dec *Decoder) Float32Null(v **float32) error {
	err := dec.decodeFloat32Null(v)
	if err != nil {
		return err
	}
	dec.called |= 1
	return nil
}
1264390
func (Encoder) AppendInt8(dst []byte, val int8) []byte {
	return strconv.AppendInt(dst, int64(val), 10)
}
1057051
func (dec *Decoder) Int8(v *int8) error {
	err := dec.decodeInt8(v)
	if err != nil {
		return err
	}
	dec.called |= 1
	return nil
}
1331372
func (v *Object) GetNull(keys ...string) error {
	child, err := v.getPath(keys)

	if err != nil {
		return err
	}

	return child.Null()
}
978697
func (enc *Encoder) Uint64NullEmpty(v uint64) {
	enc.grow(10)
	r := enc.getPreviousRune()
	if r != '[' {
		enc.writeByte(',')
	}
	if v == 0 {
		enc.writeBytes(nullBytes)
		return
	}
	enc.buf = strconv.AppendUint(enc.buf, v, 10)
}