// AddUint8KeyNullEmpty adds an int to be encoded and skips it if its value is 0.
// Must be used inside an object as it will encode a key.
558405
func (enc *Encoder) AddUint8KeyNullEmpty(key string, v uint8) {
	enc.Uint64KeyNullEmpty(key, uint64(v))
}
1009986
func (d *Context) RequireUint(index int) uint {
	return uint(C.duk_require_uint(d.duk_context, C.duk_idx_t(index)))
}
147834
func (e *Event) Uints8(key string, i []uint8) *Event {
	if e == nil {
		return e
	}
	e.buf = enc.AppendUints8(enc.AppendKey(e.buf, key), i)
	return e
}
552573
func (enc *Encoder) SQLNullBoolOmitEmpty(v *sql.NullBool) {
	if v != nil && v.Valid && v.Bool != false {
		enc.Bool(v.Bool)
	}
}
890992
func (l binaryFreeList) PutUint8(w io.Writer, val uint8) error {
	buf := l.Borrow()[:1]
	buf[0] = val
	_, err := w.Write(buf)
	l.Return(buf)
	return err
}
717613
func (q Query) SumUInts() (r uint64) {
	next := q.Iterate()
	item, ok := next()
	if !ok {
		return 0
	}

	conv := getUIntConverter(item)
	r = conv(item)

	for item, ok = next(); ok; item, ok = next() {
		r += conv(item)
	}

	return
}
72348
func (enc *Encoder) AddInt64KeyNullEmpty(key string, v int64) {
	enc.Int64KeyNullEmpty(key, v)
}
1251259
func (enc *Encoder) AddInt64Key(key string, v int64) {
	enc.Int64Key(key, v)
}
50639
func (f *Queries) MustUint64(key string, defaults ...uint64) uint64 {
	if v, ok := f.Values()[key]; ok {
		i, err := strconv.ParseUint(v[0], 10, 64)
		if err == nil {
			return i
		}
	}
	if len(defaults) > 0 {
		return defaults[0]
	}
	return 0
}
788444
func (c Context) Uints8(key string, i []uint8) Context {
	c.l.context = enc.AppendUints8(enc.AppendKey(c.l.context, key), i)
	return c
}
1019584
func (enc *Encoder) AddSQLNullInt64Key(key string, v *sql.NullInt64) {
	enc.Int64Key(key, v.Int64)
}
1226478
func (enc *Encoder) AddUint64Key(key string, v uint64) {
	enc.Uint64Key(key, v)
}
681085
func (ctx *Context) QueryUint32(key string, defaults ...uint32) uint32 {
	return (*Queries)(ctx.req).MustUint32(key, defaults...)
}
638237
func (enc *Encoder) AddBoolKeyNullEmpty(key string, v bool) {
	enc.BoolKeyNullEmpty(key, v)
}
745745
func (enc *Encoder) SQLNullStringOmitEmpty(v *sql.NullString) {
	if v != nil && v.Valid && v.String != "" {
		enc.String(v.String)
	}
}
991969
func (ctx *Context) QueryUint(key string, defaults ...uint) uint {
	return (*Queries)(ctx.req).MustUint(key, defaults...)
}
4027
func (enc *Encoder) AddInt16KeyOmitEmpty(key string, v int16) {
	enc.Int64KeyOmitEmpty(key, int64(v))
}