class Zip::Extra

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

Class Method Detail

def self.new(code : UInt16, data : Bytes) #

def self.new(io) #

Instance Method Detail

def code : UInt16 #

def code=(code) #

def data : Slice(UInt8) #

def data=(data) #

def size(*args, **options, &block) #

def size(*args, **options) #

def to_s(io) : UInt32 #