package jx

// Int encodes int.
func ( *Writer) ( int) bool {
	return .Int64(int64())
}

// UInt encodes uint.
func ( *Writer) ( uint) bool {
	return .UInt64(uint64())
}

// UInt8 encodes uint8.
func ( *Writer) ( uint8) bool {
	// v is always smaller than digits size (1000)
	return writeFirstBuf(, digits[])
}

// Int8 encodes int8.
func ( *Writer) ( int8) ( bool) {
	var  uint8
	if  < 0 {
		 = uint8(-)
		 = .byte('-')
	} else {
		 = uint8()
	}
	return  || .UInt8()
}