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

testReadString32_3byteEncodingMissingLastByte() private method

private testReadString32_3byteEncodingMissingLastByte ( ) : void
return void
        public void testReadString32_3byteEncodingMissingLastByte()
        {
            // Test with three byte encode that's missing a last byte.
            byte[] input = { 0x00, 0x00, 0x00, 0x02, 0xE8, 0xA8 };

            MemoryStream stream = new MemoryStream(input);
            EndianBinaryReader reader = new EndianBinaryReader(stream);

            reader.ReadString32();
        }