From a63cfd89ab6070e8c75b29535a615679552da764 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 13 Aug 2016 14:31:15 -0400 Subject: update documentation --- Zip/Entry.html | 87 ++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 51 insertions(+), 36 deletions(-) (limited to 'Zip/Entry.html') diff --git a/Zip/Entry.html b/Zip/Entry.html index 02dd78d..288ead0 100644 --- a/Zip/Entry.html +++ b/Zip/Entry.html @@ -50,9 +50,24 @@ -
  • +
  • Extra + + +
  • @@ -209,9 +224,9 @@ io = MemoryIO.new<
  • - #compressed_size : UInt32 + #compressed_size : UInt64 -

    Get compressed size for this Entry as a UInt32.

    +

    Get compressed size for this Entry.

  • @@ -237,7 +252,7 @@ io = MemoryIO.new<
  • - #extras : Array(Zip::Extra) + #extras : Array(Zip::Extra::Base)

    Get Extra data for this Entry as an Array.

    @@ -258,7 +273,7 @@ io = MemoryIO.new<
  • - #local_extras : Array(Extra) + #local_extras : Array(Extra::Base)

    Returns an array of Extra attributes for this Entry.

    @@ -279,16 +294,16 @@ io = MemoryIO.new<
  • - #pos : UInt32 + #pos : UInt64 -

    Get position for this Entry as a UInt32.

    +

    Get position for this Entry.

  • - #size : UInt32 + #size : UInt64 -

    Get uncompressed size for this Entry as a UInt32.

    +

    Get uncompressed size for this Entry.

  • @@ -314,14 +329,14 @@ io = MemoryIO.new<
  • - #write(path : String) : UInt32 + #write(path : String) : UInt64

    Write contents of Entry into given path path and return the number of bytes written.

  • - #write(dst_io : IO) : UInt32 + #write(dst_io : IO) : UInt64

    Write contents of Entry into given IO.

    @@ -422,15 +437,15 @@ io = MemoryIO.new< -
    +
    - def compressed_size : UInt32 + def compressed_size : UInt64 - # + #
    -

    Get compressed size for this Entry as a UInt32.

    +

    Get compressed size for this Entry.

    Zip.read("foo.zip") do |zip|
       # print compressed size for each entry
    @@ -514,12 +529,12 @@ io = MemoryIO.new<
           
    -
    +
    - def extras : Array(Zip::Extra) + def extras : Array(Zip::Extra::Base) - # + #

    Get Extra data for this Entry as an Array.

    @@ -583,12 +598,12 @@ io = MemoryIO.new<
    -
    +
    - def local_extras : Array(Extra) + def local_extras : Array(Extra::Base) - # + #

    Returns an array of Extra attributes for this Entry.

    @@ -597,7 +612,7 @@ io = MemoryIO.new< associated with the file entry itself, and the file's entry in the Central Directory.

    -

    The #extras method returns the Extra attributes from the +

    The #extras method returns the Extra attributes from the file's entry in the Central Directory, and this method returns the Extra data from the file entry itself.

    @@ -661,15 +676,15 @@ file's entry in the Central Directory, and this method returns the
    -
    +
    - def pos : UInt32 + def pos : UInt64 - # + #
    -

    Get position for this Entry as a UInt32.

    +

    Get position for this Entry.

    Zip.read("foo.zip") do |zip|
       # print position for each entry
    @@ -684,15 +699,15 @@ file's entry in the Central Directory, and this method returns the
           
    -
    +
    - def size : UInt32 + def size : UInt64 - # + #
    -

    Get uncompressed size for this Entry as a UInt32.

    +

    Get uncompressed size for this Entry.

    Zip.read("foo.zip") do |zip|
       # print uncompressed size for each entry
    @@ -776,12 +791,12 @@ file's entry in the Central Directory, and this method returns the
           
    -
    +
    - def write(path : String) : UInt32 + def write(path : String) : UInt64 - # + #

    Write contents of Entry into given path path and return the @@ -807,12 +822,12 @@ compression method is unsupported.

    -
    +
    - def write(dst_io : IO) : UInt32 + def write(dst_io : IO) : UInt64 - # + #

    Write contents of Entry into given IO.

    -- cgit v1.2.3