func convertAsciiNumberToInt(b []byte) int {
	var result int = 0
	order := len(b)
	var tenPowered int = 1

	for i := order - 1; i >= 0; i-- {
		result += tenPowered * (int(b[i]) - AsciiNumDiff) //48 is the difference between the ascii code of a number and the number itself
		tenPowered *= 10
	}
	return result
}
// convertAsciiNumberToInt converts a string represented by []byte into a number
// it uses ascii codes of numbers so that it doesn't need to convert the whole thing into a string and then use Itoa
convertAsciiNumberToInt converts a string represented by []byte into a number
it uses ascii codes of numbers so that it doesn't need to convert the whole thing into a string and then use Itoa
// convertAsciiNumberToInt converts a string represented by [] byte into a number // it uses ascii codes of numbers so that it doesn ' t need to convert the whole thing into a string and then use Itoa
func convertAsciiNumberToInt(b []byte) int {
	var result int = 0
	order := len(b)
	var tenPowered int = 1
	for i := order - 1; i >= 0; i-- {
		result += tenPowered * (int(b[i]) - AsciiNumDiff) 
		tenPowered *= 10
	}
	return result
}
func convertAsciiNumberToInt ( b [ ] byte ) int { var result int = 0 order := len ( b ) var tenPowered int = 1 for i := order - 1 ; i >= 0 ; i -- { result += tenPowered * ( int ( b [ i ] ) - AsciiNumDiff ) tenPowered *= 10 } return result }
convertAsciiNumberToInt converts a string represented by []byte into a number
it uses ascii codes of numbers so that it doesn't need to convert the whole thing into a string and then use Itoa
convertAsciiNumberToInt converts a string represented by [] byte into a number it uses ascii codes of numbers so that it doesn ' t need to convert the whole thing into a string and then use Itoa
//48 is the difference between the ascii code of a number and the number itself