package jx

import (
	
)

func ( *Decoder) ( int) (int, error) {
	switch  {
	case 8:
		,  := .Int8()
		return int(), 
	case 16:
		,  := .Int16()
		return int(), 
	case 32:
		,  := .Int32()
		return int(), 
	default:
		,  := .Int64()
		return int(), 
	}
}

// Int reads int.
func ( *Decoder) () (int, error) {
	return .int(strconv.IntSize)
}

func ( *Decoder) ( int) (uint, error) {
	switch  {
	case 8:
		,  := .UInt8()
		return uint(), 
	case 16:
		,  := .UInt16()
		return uint(), 
	case 32:
		,  := .UInt32()
		return uint(), 
	default:
		,  := .UInt64()
		return uint(), 
	}
}

// UInt reads uint.
func ( *Decoder) () (uint, error) {
	return .uint(strconv.IntSize)
}