Name In Module
A structure containing both a module name and the name of an atom declared in that module.
Constructors
Link copied to clipboard
Reconstruct a NameInModule from a stream, using the already constructed lists of module names and atom names.
Construct a NameInModule from its parts.
Functions
Link copied to clipboard
Link copied to clipboard
fun write(binaryStream: DataOutputStream, moduleNumbering: Map<String, Int>, nameNumbering: Map<String, Int>)
Write this NameInModule onto the given DataOutputStream. Use the maps from module name to index and atom name to index for compression. The same maps will be provided in inverse form (as Lists of Strings) during subsequent decoding (via the NameInModule constructor taking a DataInputStream and the two lists).