00:06 Manifest0 left 01:02 merp left 01:04 merp joined 01:31 topnep left, topnep_ joined 01:34 kylese joined 01:35 hulk left
[Coke] any mojo coders? github.com/rakudo/rakudo.org/issues/118 could use an eyeball 01:45
02:10 sibl joined 02:15 kylese left, kylese joined 03:00 Sgeo left 03:01 Sgeo joined 03:17 sibl left 03:21 sibl joined, Inline left 03:33 Inline joined 03:37 Inline left 03:52 lichtkind__ joined 03:55 lichtkind_ left 04:06 sibl left 04:07 sibl joined
disbot4 <simon_sibl> is there an easy way to read from a buf16 and to get 2 uint8 from 1 uint16 ? 04:12
04:46 hurufu joined 04:47 hurufu left 04:49 hurufu joined 04:54 hurufu left 04:58 hurufu joined 05:41 topnep_ left 05:43 topnep joined 05:52 johnjay joined 05:59 sibl left 06:04 sibl joined 06:17 sibl left 06:18 sibl joined
disbot4 <_elcaro_> You mean like this? perl [0] > my $b = Buf.new Buf:0x<> [1] > $b.write-uint16(0, 60027) Buf:0x<7B EA> [2] > [$b.read-uint8(0), $b.read-uint8(1)] [123 234] 06:53
<_elcaro_> Maybe could also do some bit-wise thingy 06:54
<_elcaro_> raku [0] > 60027 +& 0xFF 123 [1] > 60027 +> 8 +& 0xFF 234 06:56
07:03 Sgeo left 07:05 Manifest0 joined
disbot4 <simon_sibl> ah I guess almost, I am looking into something like this 07:15
<simon_sibl> m: my uint16 $b = 256; given buf16.new($b) {.read-uint8(0), .read-uint8(1)}
<simon_sibl> (doesnt seem to show the error read_buf out of bounds offset 1 start 0 elems 1 count 1) 07:16
07:36 Inline joined 07:58 dakkar joined