class Zip::DescriptorSource

Overview

Use IO::Descriptor as source for an Archive#add or Archive#replace.

TODO

Defined in:

zip/sources.cr

Constructors

Instance methods inherited from class Zip::Source

to_unsafe : LibZip::ZipSourceT to_unsafe

Constructor Detail

def self.new(archive : Archive, file : IO::FileDescriptor, offset : UInt64 = 0_u64, len : Int64 = -1_i64) #

[View source]