// Code generated by mkint, DO NOT EDIT.

package jx

var digits []uint32

func () {
	digits = make([]uint32, 1000)
	for  := uint32(0);  < 1000; ++ {
		digits[] = ((( / 100) + '0') << 16) + (((( / 10) % 10) + '0') << 8) + %10 + '0'
		if  < 10 {
			digits[] += 2 << 24
		} else if  < 100 {
			digits[] += 1 << 24
		}
	}
}

func ( *Writer,  uint32) bool {
	 := make([]byte, 0, 4)
	 :=  >> 24
	if  == 0 {
		 = append(, byte(>>16), byte(>>8))
	} else if  == 1 {
		 = append(, byte(>>8))
	}
	 = append(, byte())
	return writeStreamBytes(, ...)
}

func ( *Writer,  uint32) bool {
	return writeStreamBytes(, byte(>>16), byte(>>8), byte())
}

// UInt16 encodes uint16.
func ( *Writer) ( uint16) ( bool) {
	 := 
	// Iteration 0.
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		return 
	}
	// Iteration 1.
	 :=  - *1000
	 =  || writeFirstBuf(, digits[])
	 =  || writeBuf(, digits[])
	return 
}

// UInt16 encodes uint16.
func ( *Encoder) ( uint16) bool {
	return .comma() || .w.UInt16()
}

// Int16 encodes int16.
func ( *Writer) ( int16) ( bool) {
	var  uint16
	if  < 0 {
		 = uint16(-)
		 = .byte('-')
	} else {
		 = uint16()
	}
	return  || .UInt16()
}

// Int16 encodes int16.
func ( *Encoder) ( int16) bool {
	return .comma() || .w.Int16()
}

// UInt32 encodes uint32.
func ( *Writer) ( uint32) ( bool) {
	 := 
	// Iteration 0.
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		return 
	}
	// Iteration 1.
	 :=  - *1000
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		 =  || writeBuf(, digits[])
		return 
	}
	// Iteration 2.
	 :=  - *1000
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		return 
	}
	// Iteration 3.
	 :=  - *1000
	 =  || writeFirstBuf(, digits[])
	 =  || writeBuf(, digits[])
	 =  || writeBuf(, digits[])
	 =  || writeBuf(, digits[])
	return 
}

// UInt32 encodes uint32.
func ( *Encoder) ( uint32) bool {
	return .comma() || .w.UInt32()
}

// Int32 encodes int32.
func ( *Writer) ( int32) ( bool) {
	var  uint32
	if  < 0 {
		 = uint32(-)
		 = .byte('-')
	} else {
		 = uint32()
	}
	return  || .UInt32()
}

// Int32 encodes int32.
func ( *Encoder) ( int32) bool {
	return .comma() || .w.Int32()
}

// UInt64 encodes uint64.
func ( *Writer) ( uint64) ( bool) {
	 := 
	// Iteration 0.
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		return 
	}
	// Iteration 1.
	 :=  - *1000
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		 =  || writeBuf(, digits[])
		return 
	}
	// Iteration 2.
	 :=  - *1000
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		return 
	}
	// Iteration 3.
	 :=  - *1000
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		return 
	}
	// Iteration 4.
	 :=  - *1000
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		return 
	}
	// Iteration 5.
	 :=  - *1000
	 :=  / 1000
	if  == 0 {
		 =  || writeFirstBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		 =  || writeBuf(, digits[])
		return 
	}
	// Iteration 6.
	 :=  - *1000
	 =  || writeFirstBuf(, digits[])
	 =  || writeBuf(, digits[])
	 =  || writeBuf(, digits[])
	 =  || writeBuf(, digits[])
	 =  || writeBuf(, digits[])
	 =  || writeBuf(, digits[])
	 =  || writeBuf(, digits[])
	return 
}

// UInt64 encodes uint64.
func ( *Encoder) ( uint64) bool {
	return .comma() || .w.UInt64()
}

// Int64 encodes int64.
func ( *Writer) ( int64) ( bool) {
	var  uint64
	if  < 0 {
		 = uint64(-)
		 = .byte('-')
	} else {
		 = uint64()
	}
	return  || .UInt64()
}

// Int64 encodes int64.
func ( *Encoder) ( int64) bool {
	return .comma() || .w.Int64()
}