Example #1
0
        public override void GetBytes(Span <byte> output)
        {
            var first = GetBytesResults.First();

            GetBytesResults.RemoveFirst();
            first.AsSpan().CopyTo(output);
        }
Example #2
0
        public override void GetBytes(byte[] output)
        {
            var first = GetBytesResults.First();

            GetBytesResults.RemoveFirst();
            Buffer.BlockCopy(first, 0, output, 0, first.Length);
        }