github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/internal/itoa/itoa.go (about)

     1  // Copyright 2021 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Simple conversions to avoid depending on strconv.
     6  
     7  package itoa
     8  
     9  // Itoa converts val to a decimal string.
    10  func Itoa(val int) string
    11  
    12  // Uitoa converts val to a decimal string.
    13  func Uitoa(val uint) string
    14  
    15  // Uitox converts val (a uint) to a hexadecimal string.
    16  func Uitox(val uint) string