class Zip::Extra
- Zip::Extra
- Reference
- Object
Overview
Extra data associated with Entry
.
You should not need to instantiate this class directly; use
Zip::Entry#extras
or Zip::Entry#local_extras
instead.
Example:
# open "foo.zip"
Zip.read("foo.zip") do |zip|
# get extra data associated with "bar.txt"
extras = zip["bar.txt"].extras
end
Defined in:
Class Method Summary
Instance Method Summary
- #code : UInt16
- #code=(code)
- #data : Slice(UInt8)
- #data=(data)
- #size(*args, **options, &block)
- #size(*args, **options)
- #to_s(io) : UInt32