From 25199ab4c29057d7c0a73812fc8f2ac3605c1d86 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 10 Aug 2016 21:04:41 -0400 Subject: add documentation --- Zip/Version.html | 312 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 312 insertions(+) create mode 100644 Zip/Version.html (limited to 'Zip/Version.html') diff --git a/Zip/Version.html b/Zip/Version.html new file mode 100644 index 0000000..a555534 --- /dev/null +++ b/Zip/Version.html @@ -0,0 +1,312 @@ + + + + + + + + Zip::Version - github.com/pablotron/zip-crystal + + + +
+ + + + + + +
+ +
+

+ + class Zip::Version + +

+ + + + + + + +

Overview

+ +

Version identifier used to identify the version needed to extract a +given file and to indicate the format of the external file +attributes.

+ +

See section 4.4.3.2 of APPNOTE.TXT for version details.

+ + + + + + + + + + + + + + +

Defined in:

+ + + + + +

Constant Summary

+ +
+ +
+ DEFAULT = new(0, 0) +
+ +
+

Default version made by, if unspecified.

+
+ + +
+ NEEDED = new(2, 0) +
+ +
+

Version needed to extract this entry (4.4.3.2).

+
+ + +
+ + + +

Class Method Summary

+ + + + +

Instance Method Summary

+ + + + + + +
+ + + + + + + + + + + + + + + +
+ + +

Class Method Detail

+ +
+
+ + def self.new(major : Int32, minor : Int32, compat : Int32 = 0) + + # +
+ +

Create a version identifier from a major number, minor number, and +optional compatability number.

+ +
+
+ +
+
+ +
+
+ + def self.new(v : UInt16) + + # +
+ +

Create a version identifier from a major number, minor number, and +optional compatability number.

+ +
+
+ +
+
+ + + + +

Instance Method Detail

+ +
+
+ + def to_io(io) + + # +
+ +

Write version as 16-bit, little-endian integer and return number +of bytes written.

+ +
+
+ +
+
+ +
+
+ + def to_s(io) + + # +
+ +

Write version as string.

+ +
+
+ +
+
+ + + + + +
+ + + -- cgit v1.2.3