class D4::Format::Directory

Defined in:

d4/format.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(offset : Int64, entries : Array(Entry)) #

[View source]
def self.open(source : Source, offset : Int64, limit : Int64) : Directory #

[View source]
def self.open_root(source : Source, limit : Int64) : Directory #

[View source]

Instance Method Detail

def entries : Array(Entry) #

[View source]
def entry(name : String, kind : UInt8) : Entry #

[View source]
def entry?(name : String) : Entry | Nil #

[View source]
def offset : Int64 #

[View source]