File

Overview

Location

 

constructor

 

constructor

 

File()

 

init()

 

Sub New()

 

constructor(aFileHeader: FileHeader; azip: Reference<Reader>; azipr: ReaderAt; azipsize: int64; aheaderOffset: int64)

 

File(FileHeader aFileHeader, Reference<Reader> azip, ReaderAt azipr, int64 azipsize, int64 aheaderOffset)

 

init(_ aFileHeader: FileHeader, _ azip: Reference<Reader>, _ azipr: ReaderAt, _ azipsize: int64, _ aheaderOffset: int64)

 

Sub New(aFileHeader As FileHeader, azip As Reference<Reader>, azipr As ReaderAt, azipsize As int64, aheaderOffset As int64)

Parameters:

  • aFileHeader:
  • azip:
  • azipr:
  • azipsize:
  • aheaderOffset:

constructor (File)

 

constructor(value: File)

 

File(File value)

 

init(_ value: File)

 

Sub New(value As File)

Parameters:

  • value:

Comment

 

property Comment: string read write;

 

string Comment { get; set; }

 

var Comment: string { get{} set{} }

 

Comment string

 

Property Comment() As string

CompressedSize

 

property CompressedSize: uint32 read write;

 

uint32 CompressedSize { get; set; }

 

var CompressedSize: uint32 { get{} set{} }

 

CompressedSize uint32

 

Property CompressedSize() As uint32

CompressedSize64

 

property CompressedSize64: uint64 read write;

 

uint64 CompressedSize64 { get; set; }

 

var CompressedSize64: uint64 { get{} set{} }

 

CompressedSize64 uint64

 

Property CompressedSize64() As uint64

CRC32

 

property CRC32: uint32 read write;

 

uint32 CRC32 { get; set; }

 

var CRC32: uint32 { get{} set{} }

 

CRC32 uint32

 

Property CRC32() As uint32

CreatorVersion

 

property CreatorVersion: uint16 read write;

 

uint16 CreatorVersion { get; set; }

 

var CreatorVersion: uint16 { get{} set{} }

 

CreatorVersion uint16

 

Property CreatorVersion() As uint16

DataOffset

 

method DataOffset: tuple of (offset: int64, err: error)

 

(int64 offset, error err) DataOffset()

 

func DataOffset() -> (int64, error)

 

func DataOffset() (offset int64, err error)

 

Function DataOffset() As Tuple (Of int64, error)

ExternalAttrs

 

property ExternalAttrs: uint32 read write;

 

uint32 ExternalAttrs { get; set; }

 

var ExternalAttrs: uint32 { get{} set{} }

 

ExternalAttrs uint32

 

Property ExternalAttrs() As uint32

Extra

 

property Extra: Slice<Byte> read write;

 

Slice<Byte> Extra { get; set; }

 

var Extra: Slice<Byte> { get{} set{} }

 

Extra Slice<Byte>

 

Property Extra() As Slice<Byte>

FileHeader

 

var FileHeader: FileHeader;

 

FileHeader FileHeader

 

var FileHeader: FileHeader

 

FileHeader FileHeader

 

FIELD FileHeader() As FileHeader

FileInfo

 

method FileInfo: FileInfo

 

FileInfo FileInfo()

 

func FileInfo() -> FileInfo

 

func FileInfo() FileInfo

 

Function FileInfo() As FileInfo

Flags

 

property Flags: uint16 read write;

 

uint16 Flags { get; set; }

 

var Flags: uint16 { get{} set{} }

 

Flags uint16

 

Property Flags() As uint16

Method

 

property Method: uint16 read write;

 

uint16 Method { get; set; }

 

var Method: uint16 { get{} set{} }

 

Method uint16

 

Property Method() As uint16

Mode

 

method Mode: FileMode

 

FileMode Mode()

 

func Mode() -> FileMode

 

func Mode() FileMode

 

Function Mode() As FileMode

Modified

 

property Modified: Time read write;

 

Time Modified { get; set; }

 

var Modified: Time { get{} set{} }

 

Modified Time

 

Property Modified() As Time

ModifiedDate

 

property ModifiedDate: uint16 read write;

 

uint16 ModifiedDate { get; set; }

 

var ModifiedDate: uint16 { get{} set{} }

 

ModifiedDate uint16

 

Property ModifiedDate() As uint16

ModifiedTime

 

property ModifiedTime: uint16 read write;

 

uint16 ModifiedTime { get; set; }

 

var ModifiedTime: uint16 { get{} set{} }

 

ModifiedTime uint16

 

Property ModifiedTime() As uint16

ModTime

 

method ModTime: Time

 

Time ModTime()

 

func ModTime() -> Time

 

func ModTime() Time

 

Function ModTime() As Time

Name

 

property Name: string read write;

 

string Name { get; set; }

 

var Name: string { get{} set{} }

 

Name string

 

Property Name() As string

NonUTF8

 

property NonUTF8: bool read write;

 

bool NonUTF8 { get; set; }

 

var NonUTF8: bool { get{} set{} }

 

NonUTF8 bool

 

Property NonUTF8() As bool

Open

 

method Open: tuple of (ReadCloser, error)

 

(ReadCloser, error) Open()

 

func Open() -> (ReadCloser, error)

 

func Open() (ReadCloser, error)

 

Function Open() As Tuple (Of ReadCloser, error)

ReaderVersion

 

property ReaderVersion: uint16 read write;

 

uint16 ReaderVersion { get; set; }

 

var ReaderVersion: uint16 { get{} set{} }

 

ReaderVersion uint16

 

Property ReaderVersion() As uint16

SetMode

 

method SetMode(mode: FileMode)

 

void SetMode(FileMode mode)

 

func SetMode(_ mode: FileMode)

 

func SetMode(mode FileMode)

 

Sub SetMode(mode As FileMode)

Parameters:

  • mode:

SetModTime

 

method SetModTime(t: Time)

 

void SetModTime(Time t)

 

func SetModTime(_ t: Time)

 

func SetModTime(t Time)

 

Sub SetModTime(t As Time)

Parameters:

  • t:

UncompressedSize

 

property UncompressedSize: uint32 read write;

 

uint32 UncompressedSize { get; set; }

 

var UncompressedSize: uint32 { get{} set{} }

 

UncompressedSize uint32

 

Property UncompressedSize() As uint32

UncompressedSize64

 

property UncompressedSize64: uint64 read write;

 

uint64 UncompressedSize64 { get; set; }

 

var UncompressedSize64: uint64 { get{} set{} }

 

UncompressedSize64 uint64

 

Property UncompressedSize64() As uint64

 

FileHeader

 

var FileHeader: FileHeader;

 

FileHeader FileHeader

 

var FileHeader: FileHeader

 

FileHeader FileHeader

 

FIELD FileHeader() As FileHeader

 

Comment

 

property Comment: string read write;

 

string Comment { get; set; }

 

var Comment: string { get{} set{} }

 

Comment string

 

Property Comment() As string

CompressedSize

 

property CompressedSize: uint32 read write;

 

uint32 CompressedSize { get; set; }

 

var CompressedSize: uint32 { get{} set{} }

 

CompressedSize uint32

 

Property CompressedSize() As uint32

CompressedSize64

 

property CompressedSize64: uint64 read write;

 

uint64 CompressedSize64 { get; set; }

 

var CompressedSize64: uint64 { get{} set{} }

 

CompressedSize64 uint64

 

Property CompressedSize64() As uint64

CRC32

 

property CRC32: uint32 read write;

 

uint32 CRC32 { get; set; }

 

var CRC32: uint32 { get{} set{} }

 

CRC32 uint32

 

Property CRC32() As uint32

CreatorVersion

 

property CreatorVersion: uint16 read write;

 

uint16 CreatorVersion { get; set; }

 

var CreatorVersion: uint16 { get{} set{} }

 

CreatorVersion uint16

 

Property CreatorVersion() As uint16

ExternalAttrs

 

property ExternalAttrs: uint32 read write;

 

uint32 ExternalAttrs { get; set; }

 

var ExternalAttrs: uint32 { get{} set{} }

 

ExternalAttrs uint32

 

Property ExternalAttrs() As uint32

Extra

 

property Extra: Slice<Byte> read write;

 

Slice<Byte> Extra { get; set; }

 

var Extra: Slice<Byte> { get{} set{} }

 

Extra Slice<Byte>

 

Property Extra() As Slice<Byte>

Flags

 

property Flags: uint16 read write;

 

uint16 Flags { get; set; }

 

var Flags: uint16 { get{} set{} }

 

Flags uint16

 

Property Flags() As uint16

Method

 

property Method: uint16 read write;

 

uint16 Method { get; set; }

 

var Method: uint16 { get{} set{} }

 

Method uint16

 

Property Method() As uint16

Modified

 

property Modified: Time read write;

 

Time Modified { get; set; }

 

var Modified: Time { get{} set{} }

 

Modified Time

 

Property Modified() As Time

ModifiedDate

 

property ModifiedDate: uint16 read write;

 

uint16 ModifiedDate { get; set; }

 

var ModifiedDate: uint16 { get{} set{} }

 

ModifiedDate uint16

 

Property ModifiedDate() As uint16

ModifiedTime

 

property ModifiedTime: uint16 read write;

 

uint16 ModifiedTime { get; set; }

 

var ModifiedTime: uint16 { get{} set{} }

 

ModifiedTime uint16

 

Property ModifiedTime() As uint16

Name

 

property Name: string read write;

 

string Name { get; set; }

 

var Name: string { get{} set{} }

 

Name string

 

Property Name() As string

NonUTF8

 

property NonUTF8: bool read write;

 

bool NonUTF8 { get; set; }

 

var NonUTF8: bool { get{} set{} }

 

NonUTF8 bool

 

Property NonUTF8() As bool

ReaderVersion

 

property ReaderVersion: uint16 read write;

 

uint16 ReaderVersion { get; set; }

 

var ReaderVersion: uint16 { get{} set{} }

 

ReaderVersion uint16

 

Property ReaderVersion() As uint16

UncompressedSize

 

property UncompressedSize: uint32 read write;

 

uint32 UncompressedSize { get; set; }

 

var UncompressedSize: uint32 { get{} set{} }

 

UncompressedSize uint32

 

Property UncompressedSize() As uint32

UncompressedSize64

 

property UncompressedSize64: uint64 read write;

 

uint64 UncompressedSize64 { get; set; }

 

var UncompressedSize64: uint64 { get{} set{} }

 

UncompressedSize64 uint64

 

Property UncompressedSize64() As uint64

 

constructor

 

constructor

 

File()

 

init()

 

Sub New()

 

constructor(aFileHeader: FileHeader; azip: Reference<Reader>; azipr: ReaderAt; azipsize: int64; aheaderOffset: int64)

 

File(FileHeader aFileHeader, Reference<Reader> azip, ReaderAt azipr, int64 azipsize, int64 aheaderOffset)

 

init(_ aFileHeader: FileHeader, _ azip: Reference<Reader>, _ azipr: ReaderAt, _ azipsize: int64, _ aheaderOffset: int64)

 

Sub New(aFileHeader As FileHeader, azip As Reference<Reader>, azipr As ReaderAt, azipsize As int64, aheaderOffset As int64)

Parameters:

  • aFileHeader:
  • azip:
  • azipr:
  • azipsize:
  • aheaderOffset:

constructor (File)

 

constructor(value: File)

 

File(File value)

 

init(_ value: File)

 

Sub New(value As File)

Parameters:

  • value:

FileInfo

 

method FileInfo: FileInfo

 

FileInfo FileInfo()

 

func FileInfo() -> FileInfo

 

func FileInfo() FileInfo

 

Function FileInfo() As FileInfo

Mode

 

method Mode: FileMode

 

FileMode Mode()

 

func Mode() -> FileMode

 

func Mode() FileMode

 

Function Mode() As FileMode

ModTime

 

method ModTime: Time

 

Time ModTime()

 

func ModTime() -> Time

 

func ModTime() Time

 

Function ModTime() As Time

SetMode

 

method SetMode(mode: FileMode)

 

void SetMode(FileMode mode)

 

func SetMode(_ mode: FileMode)

 

func SetMode(mode FileMode)

 

Sub SetMode(mode As FileMode)

Parameters:

  • mode:

SetModTime

 

method SetModTime(t: Time)

 

void SetModTime(Time t)

 

func SetModTime(_ t: Time)

 

func SetModTime(t Time)

 

Sub SetModTime(t As Time)

Parameters:

  • t:

DataOffset

 

method DataOffset: tuple of (offset: int64, err: error)

 

(int64 offset, error err) DataOffset()

 

func DataOffset() -> (int64, error)

 

func DataOffset() (offset int64, err error)

 

Function DataOffset() As Tuple (Of int64, error)

Open

 

method Open: tuple of (ReadCloser, error)

 

(ReadCloser, error) Open()

 

func Open() -> (ReadCloser, error)

 

func Open() (ReadCloser, error)

 

Function Open() As Tuple (Of ReadCloser, error)