class DFL::Head

Overview

A chunk of data that holds info about data in the DFL

Included Modules

Defined in:

D_File/dfl/head.cr
write.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module WritingMethods::DFL::Head

write(filename : String | Path)
write(io : IO)
write

Constructor Detail

def self.read(io : IO) : Head #

Reads in a head given the io


[View source]

Class Method Detail

def self.read(filename : String | Path) #

Reads in a head given the filepath

head = DFL::Head.read("Path/To/MyHead.dpo")

[View source]

Instance Method Detail

def data : DataTypes #

The head's data


[View source]
def data=(data : DataTypes) #

The head's data


[View source]
def name : String #

The name


[View source]
def name=(name : String) #

The name


[View source]
def name_length : UInt8 #

The length of the name


[View source]
def name_length=(name_length : UInt8) #

The length of the name


[View source]
def type : HeadType #

The type of the head


[View source]
def type=(type : HeadType) #

The type of the head


[View source]