@Override
  public BlobDescriptor writeTo(OutputStream outputStream) throws IOException {
    return Digests.computeDigest(writableContents, outputStream);
  }
A {@link Blob} that holds {@link WritableContents}.
jib-core/src/main/java/com/google/cloud/tools/jib/blob/WritableContentsBlob.java