Class Serializer

java.lang.Object
org.ek9lang.compiler.Serializer
All Implemented Interfaces:
Function<SharedThreadContext<CompilableProgram>,byte[]>

public class Serializer extends Object implements Function<SharedThreadContext<CompilableProgram>,byte[]>
Serializes a compilable program to a byte array, so it can be saved/reused as required. If serialisation fails it is a runtime exception as that is a major failing in the serialisation mechanism.