Int8SodiumPtr extension

Extensions on specific sodium pointers for easy conversion to dart types

on

Methods

asList([int? length]) Int8List
Returns a dart list view on the pointer.
copyAsList([int? length]) Int8List
Returns a dart list copy off the pointer.
toDartString({bool zeroTerminated = false}) String
Converts the pointer to a dart string using the utf8 encoding.