{"published":"2007-09-20 06:42:42","type":"rich","image_url":null,"title":"\u30d3\u30c3\u30c8\u6f14\u7b97","height":"190","author_name":"eggman","version":"1.0","blog_url":"https://eggman.hatenadiary.org/","width":"100%","provider_name":"Hatena Blog","description":"Lua\u3067\u30d3\u30c3\u30c8\u6f14\u7b97\u3059\u308b\u306b\u306f\u3001bitlib\u3092\u4f7f\u3046\u3002bitlib\u306fC\u8a00\u8a9e\u3067\u66f8\u304b\u308c\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u30bd\u30fc\u30b9\u306f\u304b\u306a\u308a\u7c21\u6f54\u3067\u3059\u3002 bits.lua #!/bin/env lua require(\"bit\") function pbits(byte) io.write \" \" for i=63, 0, -1 do io.write(bit.band(bit.arshift(byte,i), 1)) end io.write(\" \" .. byte ..\"\\n\") end i = 0xffff pbits(i) i = bit.band(i, 0xf0f0) pbits(i) i = bit.bnot(i) p\u2026","author_url":"https://blog.hatena.ne.jp/eggman/","url":"https://eggman.hatenadiary.org/entry/20070920/1190238162","categories":["Lua"],"blog_title":"eggman\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Feggman.hatenadiary.org%2Fentry%2F20070920%2F1190238162\" title=\"\u30d3\u30c3\u30c8\u6f14\u7b97 - eggman\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}