putDoc method

void putDoc(
  1. int fieldId,
  2. Bytes doc
)

Writes an already encoded document (including its header) as a nested doc.

Implementation

void putDoc(int fieldId, Bytes doc) {
  _ensureOpen();
  _sink.putDoc(fieldId, doc);
}