On 11/25/22 19:21, ToddAndMargo via perl6-users wrote:
Hi All,
I am confused!
sub blob-from-pointer(Pointer:D \ptr, Int :$elems!, Blob:U :$type = Buf)
is export {
What is `Pointer:D \ptr`?
Why the `\`?
What is `:$elems!`?
Why the `:`?
Why the `!`?
What is `Blob:U :$type = Buf`
What does `Blob:U` mean?
What does `:type` mean?
Is `$type` being assigned the type of `Buf`
:'(
Yours in confusion,
-T
Hi All,
I figured all this out with some help from the
beginners chat line and a ton of research.
If anyone want to know the results, let me
know and I will fill in the answers.
-T