Skip to content

Instantly share code, notes, and snippets.

@benjumanji
Created May 26, 2023 18:01
Show Gist options
  • Save benjumanji/84ff5d7e7f39900cde674f9a89376b91 to your computer and use it in GitHub Desktop.
Save benjumanji/84ff5d7e7f39900cde674f9a89376b91 to your computer and use it in GitHub Desktop.
cylindrical-nebula-3857

cylindrical-nebula-3857

Created with <3 with dartpad.dev.

import 'dart:typed_data';
import 'dart:convert';
void main() {
var p = Uint8List.fromList([
0x42, 0x65, 0x6e, 0xe2, 0x80, 0x99, 0x73, 0x20, 0x49, 0x70, 0x68, 0x6f, 0x6e, 0x65
]);
print(String.fromCharCodes(p));
print(utf8.decode(p));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment