NAME ^

src/pmc/packfilesegment.pmc - PackfileSegment PMC

DESCRIPTION ^

This class implements a PackfileSegment class, an abstract class defining a couple of methods which all Packfile segments will implement. The stub methods found here explode when called.

See packfile.pmc for the toplevel Packfile interface; see PDD13 for the design spec.

Methods ^

void init()

Initialize the structure. (Create a blank PackFile_Segment object.)

STRING *pack()

Serialize the segment.

void unpack(STRING *data)

Unpack a serialized segment string.


parrot