Int8SodiumPtr extension
Extensions on specific sodium pointers for easy conversion to dart types
- on
Methods
-
asList(
[int? length]) → Int8List -
Available on SodiumPointer<
Returns a dart list view on the pointer.Int8> , provided by the Int8SodiumPtr extension -
copyAsList(
[int? length]) → Int8List -
Available on SodiumPointer<
Returns a dart list copy off the pointer.Int8> , provided by the Int8SodiumPtr extension -
toDartString(
{bool zeroTerminated = false}) → String -
Available on SodiumPointer<
Converts the pointer to a dart string using the utf8 encoding.Int8> , provided by the Int8SodiumPtr extension