class Bplist::Parser

Defined in:

bplist/parser.cr

Constant Summary

HEADER_SIZE = 8
TRAILER_NUM_OBJECTS_OFFSET = 8
TRAILER_OBJECT_REF_SIZE_OFFSET = 7
TRAILER_OFFSET_SIZE_OFFSET = 6
TRAILER_OFFSET_TABLE_OFFSET = 24
TRAILER_SIZE = 32
TRAILER_TOP_OBJECT_OFFSET = 16

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(io : IO) #

[View source]
def self.new(file_path : String) #

[View source]

Class Method Detail

def self.debug=(debug : Bool) #

[View source]
def self.debug? #

[View source]
def self.parse(value : IO | String) #

[View source]

Instance Method Detail

def parse #

[View source]
def print_objects #

[View source]