{"type":"rich","version":"1.0","published":"2011-04-26 01:00:34","author_name":"sirocco","height":"190","width":"100%","provider_name":"Hatena Blog","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","url":"https://sirocco.hatenadiary.org/entry/20110426/1303833634","description":"ByteString \u306e\u7df4\u7fd2\u306b HEXDUMP \u3057\u3066\u307f\u307e\u3057\u305f\u3002 Data.ByteString Data.ByteString.Lazy Data.ByteString.Char8 Data.ByteString.Lazy.Char8 \u305d\u308c\u305e\u308c\u306b Data.List \u3068\u540c\u3058\u3088\u3046\u306a\u95a2\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002 import Numeric import qualified Data.ByteString.Lazy as L hexDump :: FilePath -> IO () hexDump path = L.readFile path >>= printHex 16 printHex :: I\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20110426%2F1303833634\" title=\"ByteString \u3067 hexDump - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://sirocco.hatenadiary.org/","categories":["Haskell"],"image_url":null,"title":"ByteString \u3067 hexDump","author_url":"https://blog.hatena.ne.jp/sirocco/","provider_url":"https://hatena.blog"}