Beispiel #1
0
        public void Span_add()
        {
            byte[] bytes = new byte[64];
            for (int i = 0; i < 64; i++)
            {
                bytes[i] = (byte)i;
            }

            Span <byte> span = bytes.AsSpan();

            UInt256.AddInPlace(span.Slice(0, 32), span.Slice(32, 32));
        }