Ejemplo n.º 1
0
        public void ToStringIsCorrect()
        {
            ReadOnlySequence <byte> buffer = Factory.CreateWithContent(Enumerable.Range(0, 255).Select(i => (byte)i).ToArray());

            Assert.Equal("System.Buffers.ReadOnlySequence<Byte>[255]", buffer.ToString());
        }