{"published":"2023-09-25 12:00:00","width":"100%","description":"\u306f\u3058\u3081\u306b \u4eca\u56de\u306fBitConverter.GetBytes\u3068BitConverter.TryWriteBytes\u306b\u7126\u70b9\u3092\u3042\u3066\u3066Allocation\u306b\u3064\u3044\u3066\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002learn.microsoft.com learn.microsoft.com \u306f\u3058\u3081\u306b \u6982\u8981 BitConverter.TryWriteBytes\u3092\u5229\u7528\u3059\u308b \u5229\u7528\u30b5\u30f3\u30d7\u30eb1 \u5229\u7528\u30b5\u30f3\u30d7\u30eb2 \u53c2\u8003 \u6982\u8981 \u6307\u5b9a\u3057\u305f\u30c7\u30fc\u30bf(\u4f8b. int, ulong)\u3092\u30d0\u30a4\u30c8\u914d\u5217\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066BitConverter.GetBytes\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002 public static byte[] GetBytes (bool value);\u2026","version":"1.0","url":"https://www.hanachiru-blog.com/entry/2023/09/25/120000","author_name":"hanaaaaaachiru","image_url":null,"categories":["C#","Unity"],"author_url":"https://blog.hatena.ne.jp/hanaaaaaachiru/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2023%2F09%2F25%2F120000\" title=\"\u3010C#\u3011BitConverter.GetBytes\u306fbyte\u914d\u5217\u304c\u751f\u6210\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6975\u529bBitConverter.TryWriteBytes\u3092\u5229\u7528\u3057\u3066Allocation\u524a\u6e1b\u3059\u308b - \u306f\u306a\u3061\u308b\u306e\u30de\u30a4\u30ce\u30fc\u30c8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","blog_title":"\u306f\u306a\u3061\u308b\u306e\u30de\u30a4\u30ce\u30fc\u30c8","height":"190","title":"\u3010C#\u3011BitConverter.GetBytes\u306fbyte\u914d\u5217\u304c\u751f\u6210\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u6975\u529bBitConverter.TryWriteBytes\u3092\u5229\u7528\u3057\u3066Allocation\u524a\u6e1b\u3059\u308b","blog_url":"https://www.hanachiru-blog.com/"}