@Override
    public void write(DataWriter out) throws IOException {
        int entries = elements.size();
        out.writeInt(entries);
        for (T element : elements) {
            writeEntry(out, element);
        }
    }
@author Nico Bergemann <barracuda415 at yahoo.de>
disunity-core/src/main/java/info/ata4/junity/UnityTableStruct.java