private static byte[] binaryBinString = (byte[])mergeArrays(binaryHead, binaryBinStringValue);
@Test
public void DeserializeLLSDBinary() throws IOException, OSDException
{
OSD llsdBytes = BinaryLLSDOSDParser.DeserializeLLSDBinary(binaryBinString);
Assert.assertEquals(OSDType.Binary, llsdBytes.getType());
byte[] contentBinString = { 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x20, 0x73,
0x69, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x20, 0x63, 0x6f,
0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68,
0x69, 0x73, 0x20, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0xa, 0xd };
Assert.assertArrayEquals(contentBinString, llsdBytes.asBinary());
}