Ref2 method

P Ref2([
  1. String? o,
  2. int? bufferSize
])

Writes o into slot '2' and returns its pointer.

Shorthand for Value(o, '2'). Use RefOrNull2 if o may be null and the callee expects nullptr in that case.

Implementation

P Ref2([String? o, int? bufferSize]) => ValueAt('2', o, bufferSize);