// String reverse=BytesUtils.bytesToHexString(data);
// System.out.println(reverse);
ByteArrayInputStream inStream = new ByteArrayInputStream(data);
BerInputStream in = new BerInputStream(inStream);
TestParser parser = new TestParser();
BerNode node;
while (null != (node = parser.readPacket(in))) {
System.out.println(node.toString());
}
}