This is the logical inverse of {@link java.io.ByteArrayInputStream}.
676869707172737475767778
throws ResourceMigrationException { try { // Check the input. InputStreamByteArray isba = new InputStreamByteArray(input); Assert.assertTrue(new String(isba.getByteArray()).equals(inputData)); // Generate output. OutputStreamByteArray osba = new OutputStreamByteArray( outputData.getBytes()); osba.writeTo(output);