code: public static ByteArrayDocument create(String id, byte[] content, long cas) {
          return new ByteArrayDocument(id, 0, content, cas, null);
      }
docs: Creates a {@link ByteArrayDocument} which the document id, content and the CAS value.
  
  @param id the per-bucket unique document id.
  @param content the content of the document.
  @param cas the CAS (compare and swap) value for optimistic concurrency.
  @return a {@link ByteArrayDocument}.