operator [] method

  1. @override
VecChar operator [](
  1. int idx
)
override

return the reference

Implementation

@override
VecChar operator [](int idx) => VecChar.fromPointer(ref.ptr + idx, false);