Re: Hex string to buf question

2022-06-19 Thread ToddAndMargo via perl6-users
On 6/19/22 03:06, ToddAndMargo via perl6-users wrote: On 6/19/22 00:33, ToddAndMargo via perl6-users wrote: Hi All, I have a string:  > my Str $x = "1BB67AE85A"; 1BB67AE85A which has the hexadecimal values I want to add to a buffer:  > my buf8 $y = buf8.new($x.base(16)); No such method 'base

Re: Hex string to buf question

2022-06-19 Thread ToddAndMargo via perl6-users
On 6/19/22 00:33, ToddAndMargo via perl6-users wrote: Hi All, I have a string: > my Str $x = "1BB67AE85A"; 1BB67AE85A which has the hexadecimal values I want to add to a buffer: > my buf8 $y = buf8.new($x.base(16)); No such method 'base' for invocant of type 'Str'.  Did you mean any of thes

Re: Hex string to buf question

2022-06-19 Thread ToddAndMargo via perl6-users
On 6/19/22 00:33, ToddAndMargo via perl6-users wrote: Hi All, I have a string: > my Str $x = "1BB67AE85A"; 1BB67AE85A which has the hexadecimal values I want to add to a buffer: > my buf8 $y = buf8.new($x.base(16)); No such method 'base' for invocant of type 'Str'.  Did you mean any of thes

Hex string to buf question

2022-06-19 Thread ToddAndMargo via perl6-users
Hi All, I have a string: > my Str $x = "1BB67AE85A"; 1BB67AE85A which has the hexadecimal values I want to add to a buffer: > my buf8 $y = buf8.new($x.base(16)); No such method 'base' for invocant of type 'Str'. Did you mean any of these: 'Bag', 'Date', 'Hash', 'are', 'asec', 'hash', 'take'?