Concept#

KonFoo is based on defining or declaring a byte stream mapper (representation) through classes.

KonFoo has two abstract base classes the container class and the field class.

A container contains field and/or container classes and knows how to view, save and load the values of the field items within the container.

A field represents the value of a content area in a byte stream which the field maps and knows how to unpack and pack its value from and to a byte stream.

The mix-in pointer class has both features of the two base classes and has an interface to a byte stream provider to read and write byte streams from and back to the byte stream provider for its referenced data object, respectively its byte stream mapper.

The built-in deserializer and serializer unpacks and packs the byte stream sequential to and from each field in the declared byte stream mapper.