Apache.NMS.Test.EndianBinaryReaderTest.testReadString32_1byteAnd2byteEmbeddedNULLs C# (CSharp) Method

testReadString32_1byteAnd2byteEmbeddedNULLs() private method

private testReadString32_1byteAnd2byteEmbeddedNULLs ( ) : void
return void
        public void testReadString32_1byteAnd2byteEmbeddedNULLs()
        {
            // Test data with 1-byte and 2-byte encoding with embedded NULL's.
            char[] expect = { '\u0000', '\u0004', '\u00C2', '\u00A9', '\u00C3', '\u0000', '\u00A6' };
            byte[] input = { 0x00, 0x00, 0x00, 0x0D, 0xC0, 0x80, 0x04, 0xC3, 0x82, 0xC2, 0xA9, 0xC3, 0x83, 0xC0, 0x80, 0xC2, 0xA6 };

            readString32Helper(input, expect);
        }