2019-05-19から1日間の記事一覧

【C#】Byte / Byte[] (Byteの配列)

C#

■ エンディアンの対応 * 以下の公式サイトに記載されてた https://docs.microsoft.com/ja-jp/dotnet/csharp/programming-guide/types/how-to-convert-a-byte-array-to-an-int * 「BitConverter.IsLittleEndian」と「Array.Reverse()」で対応 例 if (BitConve…