Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
列の 1 つがバイナリ配列 (Java UUID) であるテーブルを C# クラスにマップしようとしています。
バイト配列を読み取り、UUID の文字列表現を返したいと思います。どこから始めるのが良いのか疑問に思っています。
すでにバイト配列として取得している場合は、を呼び出して;new Guid(bytes)を取得します。特に必要な場合は、それをGuid呼び出して文字列に変換できます。(診断以外のToString方法として残すことをお勧めします。)Guid
new Guid(bytes)
Guid
ToString