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/Extra.html | 370 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 370 insertions(+) create mode 100644 Zip/Extra.html (limited to 'Zip/Extra.html') diff --git a/Zip/Extra.html b/Zip/Extra.html new file mode 100644 index 0000000..cb489df --- /dev/null +++ b/Zip/Extra.html @@ -0,0 +1,370 @@ + + + + + + + + Zip::Extra - github.com/pablotron/zip-crystal + + + +
+ + + + + + +
+ +
+

+ + 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 + + # +
+ +
+
+ +
+
+ + + + + +
+ + + -- cgit v1.2.3