entryBytes property
int
get
entryBytes
Gets the number of entry bytes (length) that should be used to scan for entries.
Versions 1-3 = 4 bytes (6 z characters max) Versions 4+ = 6 bytes (9 z characters max)
Word in dictionary may be less than max, in which case it's padded with 5s.
Specification Reference
13.3
Implementation
int get entryBytes {
if (Z.engine.version == zMachineVersions.v1 ||
Z.engine.version == zMachineVersions.v2 ||
Z.engine.version == zMachineVersions.v3) {
return 4;
} else {
return 6;
}
}