diff --git a/Capnp.Net.Runtime/Framing.cs b/Capnp.Net.Runtime/Framing.cs index 5a0d858..188f2e7 100644 --- a/Capnp.Net.Runtime/Framing.cs +++ b/Capnp.Net.Runtime/Framing.cs @@ -66,7 +66,8 @@ namespace Capnp { throw new InvalidDataException("Expected more bytes according to framing header"); } - + + // Fastest way to do this without /unsafe for (int j = 0; j < buffers[i].Length; j++) { var value = BitConverter.ToUInt64(tmpBuffer, j*8);