Add unit test to test data overflow when using BinaryXmlSerializer

Add the unit tests to test data overflow when calling:
1.BinaryXmlSerializer#attributeBytesHex
2.BinaryXmlSerializer#attributeBytesBase64

Bug: 307288067
Test: atest BinaryXmlTest
Change-Id: I4e3f4881742f0e865eaefabb8ee134c67c6b53d9
1 file changed