End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Array#pack
pack(template, buffer: nil) → string
pack.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/pack.rb, line 7
def pack(fmt, buffer: nil)
Primitive.pack_pack(fmt, buffer)
end
Formats each element in self into a binary string; returns that string. See Packed Data.