public static Pipe newPipe ( byte [ ] data , int offset , int length ) throws IOException { return newPipe ( new ByteArrayInputStream ( data , offset , length ) ) ; }
Creates an xml pipe from a byte array .