Ejemplo n.º 1
0
 private static string MemoryToString(MemoryBlock block, int max = 0)
 {
     byte[] bytes = new byte[Math.Min(max, block.Length)];
     block.Read(0, bytes);
     return BitConverter.ToString(bytes);
 }