Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created May 15, 2020 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/5fdc4d64aae1323e567c3376e45de2bd to your computer and use it in GitHub Desktop.
Save Whateverable/5fdc4d64aae1323e567c3376e45de2bd to your computer and use it in GitHub Desktop.
Whateverable
2020-05-07T16:24:06Z #raku <MasterDuke> Xliff: another option thanks to ctilmes_. `my Buf $a .= new((^32).pick xx 256); my $b = nativecast(CArray[uint8], $a);`. "You would have to be careful to hold the reference to avoid GC and be careful not to read past the end of the array"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment