RosettaCodeData/Task/Host-introspection/Perl-6/host-introspection-2.pl6
2019-09-12 10:33:56 -07:00

1 line
73 B
Raku

say blob8.new(1,0).read-int16(0) == 1 ?? "little-endian" !! "big-endian"