convertArrayBufferToString function
Implementation
convertArrayBufferToString(Uint8List buffer, [int? from, int? to]) {
if (from == null) from = 0;
if (to == null) to = buffer.lengthInBytes;
var str =
LoaderUtils.decodeText(Uint8List.view(buffer.buffer, from, to).toList());
return str;
}