Code example for OutputStream

Methods: write

0
    InputStream in = null;
 
    try { 
      out = outSupplier.getOutput();
 
      out.write(version);
      serializerUtils.writeString(out, name);
      serializerUtils.writeString(out, typeName);
 
      final InputSupplier<InputStream> supplier = column.combineStreams();
      in = supplier.getInput();
 
      ByteStreams.copy(in, out);
    } 
    finally { 
      Closeables.closeQuietly(out);
      Closeables.closeQuietly(in);
    } 
  } 
 
  public static void writeFloatMetric(