class Zip::Source
- Zip::Source
- Reference
- Object
Overview
Base class for input source for Archive object.
You should not need to instantiate this class directly; use
Zip.read() instead.
Included Modules
- IO
Defined in:
Class Method Summary
-
.new(io : IO::FileDescriptor | MemoryIO)
Instantiate a new
Sourcefrom the givenIO::FileDescriptororMemoryIOobject.
Instance Method Summary
- #read(*args, **options, &block)
- #read(*args, **options)
- #write(*args, **options, &block)
- #write(*args, **options)
Macro Summary
Class Method Detail
def self.new(io : IO::FileDescriptor | MemoryIO)
#
Instantiate a new Source from the given IO::FileDescriptor or
MemoryIO object.
You should not need to instantiate this class directly; use
Zip.read() instead.