You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
339 B

package jx
// Int encodes int.
func (e *Encoder) Int(v int) {
e.comma()
e.w.Int(v)
}
// UInt encodes uint.
func (e *Encoder) UInt(v uint) {
e.comma()
e.w.UInt(v)
}
// UInt8 encodes uint8.
func (e *Encoder) UInt8(v uint8) {
e.comma()
e.w.UInt8(v)
}
// Int8 encodes int8.
func (e *Encoder) Int8(v int8) {
e.comma()
e.w.Int8(v)
}