u8 property

VecUChar get u8

Implementation

VecUChar get u8 {
  return cvRunArena<VecUChar>((arena) {
    final p = toNativeUtf8(allocator: arena);
    final pp = p.cast<ffi.UnsignedChar>();
    final v = VecUChar.fromList(List.generate(p.length, (idx) => pp[idx]));
    return v;
  });
}