method bytes
1 | role Blob |
1.1 | (Blob) method bytes |
Documentation for method bytes
assembled from the following types:
role Blob
From Blob
(Blob) method bytes
Defined as:
method bytes(Blob: --> Int)
Returns the number of bytes used by the elements in the buffer.
say Blob.new([1, 2, 3]).bytes; # OUTPUT: «3»say blob16.new([1, 2, 3]).bytes; # OUTPUT: «6»say blob64.new([1, 2, 3]).bytes; # OUTPUT: «24»