{"blog_url":"https://ema-hiro.hatenablog.com/","categories":["Go"],"author_name":"ema_hiro","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":"byte \u6587\u5b57\u5217\u3092 Int \u306b\u5909\u63db\u3059\u308b","blog_title":"emahiro/b.log","description":"Overview \u3061\u3087\u3063\u3068\u51dd\u3063\u305f\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3067\u3059\u304c\u3001byte \u6587\u5b57\u5217\u3092 Int \u306b\u5909\u63db\u3057\u305f\u3044\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u304c\u3042\u3063\u305f\u3068\u304d\u306b\u4f7f\u3048\u308b\u30c6\u30af\u30cb\u30c3\u30af\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3092\u8003\u3048\u307e\u3059\u3002 func main() { b := []byte(\"123456\") for idx := range b { fmt.Println(b[idx]) } } // OUTPUT: // // 49 <- 1 // 50 <- 2 // 51 <- 3 // 52 <- 4 // 53 <- 5 // 54 <- 6 \u3053\u3053\u3067 byte \u914d\u5217\u306b\u683c\u7d0d\u3055\u308c\u305f\u66f8\u304f byte \u6587\u5b57\u5217\u3092\u81ea\u7136\u6570\u306e\u914d\u5217\u306b\u5909\u63db\u3057\u305f\u3044\u3068\u2026","url":"https://ema-hiro.hatenablog.com/entry/2021/07/22/020939","type":"rich","published":"2021-07-22 02:09:39","image_url":null,"height":"190","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/ema_hiro/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2021%2F07%2F22%2F020939\" title=\"byte \u6587\u5b57\u5217\u3092 Int \u306b\u5909\u63db\u3059\u308b - emahiro/b.log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}