@Override
  public void writeUTF8String(byte[] text, int offset, int length) throws IOException {
    writer.writeString(new String(text, offset, length));
  }
Delegates all streaming API to {@link BsonWriter}.
criteria/mongo/src/org/immutables/criteria/mongo/bson4jackson/BsonGenerator.java