public static Pipe newPipe(byte[] data) throws IOException
    {
        return newPipe(data, 0, data.length);
    }
Creates an xml pipe from a byte array.
protostuff-xml/src/main/java/io/protostuff/XmlIOUtil.java