public void TrimEnd()
        {
            var expected = "   the end should be trimmed";

            var sequence = new ReadOnlySequence <byte>(Encoding.UTF8.GetBytes("   the end should be trimmed \t "));

            var trimmed = sequence.TrimEnd();

            Assert.Equal(expected, trimmed.ToStringUtf8());
        }