# README
サンプルリスト
このディレクトリには以下のサンプルがあります。
file | example name | note |
---|---|---|
hex_to_dec.go | strconvs_hex_to_dec | 16進数文字列を10進数に変換するサンプルです. |
bin_to_dec.go | strconvs_bin_to_dec | 2進数文字列を10進数に変換するサンプルです. |
dec_to_dec.go | strconvs_dec_to_dec | 10進数文字列を10進数に変換するサンプルです. |
hex_to_bin.go | strconvs_hex_to_bin | 16進数文字列を2進数文字列に変換するサンプルです. |
bin_to_hex.go | strconvs_bin_to_hex | 2進数文字列を16進数文字列に変換するサンプルです. |
parseint_tips_bitsize.go | strconvs_parseint_tips_bitsize | strconv.ParseInt() の第3引数 bitSize を指定する際のTipsです。 |
parseint_tips_basevalue.go | strconvs_parseint_tips_base | strconv.ParseInt() の第2引数 base を指定する際のTipsです。 |
# Functions
BinToDec -- 2進数文字列を10進数に変換するサンプルです.
BinToHex -- 2進数文字列から16進数文字列へ変換するサンプルです。.
DecToDec -- 10進数文字列を10進数に変換するサンプルです.
HexToBin -- 16進数から2進数文字列へ変換するサンプルです。.
HexToDec -- 16進数文字列を10進数に変換するサンプルです.
NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。.
ParseIntTipsBaseValue -- strconv.ParseInt() の第2引数 base を指定する際のTipsです。
REFERENCES - https://pkg.go.dev/strconv@latest#ParseInt.
ParseIntTipsBitSize -- strconv.ParseInt() の第3引数 bitSize を指定する際のTipsです。
REFERENCES - https://pkg.go.dev/strconv@latest#ParseInt.