code: public static WriterCallback from(final byte[] data) {
      return new WriterCallback() {
        @Override
        public void write(OutputStream os) throws IOException {
          os.write(data);
        }
      };
    }
docs: Creates a writer callback that writes some byte array to the target stream.
  
  <p>This writer can be used many times.
  @param data the bytes to write
  @return the writer callback