sai_dive IL

学んだことのアウトプットブログ

【Go】byte(uint8)型

byte(uint8)型

変数名 := []byte{値}

byte型をstring型に変換
string(変数名)

string型をbyte型に変換
[]byte(値)