code: public static void writeLibraryToStream(final String libraryFileName, final DataOutput out) throws IOException {
  
  		final LibraryCacheManager lib = get();
  		lib.writeLibraryToStreamInternal(libraryFileName, out);
  
  	}
docs: Writes data from the library with the given file name to the specified stream.
  
  @param libraryFileName
  the name of the library
  @param out
  the stream to write the data to
  @throws IOException
  thrown if an error occurs while writing the data