/*
 * SDK Pullenti Unitext, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software. 
 * This class is generated using the converter Unisharping (www.unisharping.ru) from Pullenti C# project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */

package com.pullenti.unitext.internal.word;

public class FibStructuresReader {

    public static Fib readFib(com.pullenti.unisharp.Stream s) throws Exception, java.io.IOException {
        Fib fib = new Fib();
        fib.set_base(readFibBase(s));
        if (fib.get_base() == null) 
            return null;
        fib.setcsw(java.nio.ByteBuffer.wrap(ReadUtils.readExact(s, ReadUtils.wordSize), 0, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        fib.setfibRgW(readFibRgW97(s, fib.getcsw()));
        fib.setcslw(java.nio.ByteBuffer.wrap(ReadUtils.readExact(s, ReadUtils.wordSize), 0, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        fib.setfibRgLw(readFibRgLw97(s, fib.getcslw()));
        fib.setcbRgFcLcb(java.nio.ByteBuffer.wrap(ReadUtils.readExact(s, ReadUtils.wordSize), 0, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        fib.setfibRgFcLcbBlob(readFibRgFcLcbBlob(s, fib.get_base().getnFib(), fib.getcbRgFcLcb()));
        fib.setcswNew(java.nio.ByteBuffer.wrap(ReadUtils.readExact(s, ReadUtils.wordSize), 0, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        fib.setfibRgCswNew(readFibRgCswNew(s, fib.get_base().getnFib(), fib.getcswNew()));
        return fib;
    }

    private static FibRgCswNew readFibRgCswNew(com.pullenti.unisharp.Stream s, short nFib, short size) throws Exception, java.io.IOException {
        FibRgCswNew2000 fibRgCswNew2000 = null;
        FibRgCswNew2007 fibRgCswNew2007 = null;
        switch (size) { 
        case 0:
            return new FibRgCswNew();
        case 2:
            fibRgCswNew2000 = new FibRgCswNew2000();
            break;
        case 5:
            fibRgCswNew2000 = (fibRgCswNew2007 = new FibRgCswNew2007());
            break;
        default: 
            fibRgCswNew2000 = (fibRgCswNew2007 = new FibRgCswNew2007());
            break;
    }
    byte[] data = ReadUtils.readExact(s, (Short.toUnsignedInt(size)) * 2);
    fibRgCswNew2000.setcQuickSavesNew(java.nio.ByteBuffer.wrap(data, 0, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
    return fibRgCswNew2000;
    }

    private static FibRgFcLcb readFibRgFcLcbBlob(com.pullenti.unisharp.Stream s, short nFib, short size) throws Exception, java.io.IOException {
        FibRbFcLcb97 fibRbFcLcb97 = null;
        FibRbFcLcb2000 fibRbFcLcb2000 = null;
        FibRbFcLcb2002 fibRbFcLcb2002 = null;
        FibRbFcLcb2003 fibRbFcLcb2003 = null;
        FibRbFcLcb2007 fibRbFcLcb2007 = null;
        switch (size) { 
        case 0x005D:
            fibRbFcLcb97 = new FibRbFcLcb97();
            break;
        case 0x006C:
            fibRbFcLcb97 = (fibRbFcLcb2000 = new FibRbFcLcb2000());
            break;
        case 0x0088:
            fibRbFcLcb97 = (fibRbFcLcb2000 = (fibRbFcLcb2002 = new FibRbFcLcb2002()));
            break;
        case 0x00A4:
            fibRbFcLcb97 = (fibRbFcLcb2000 = (fibRbFcLcb2002 = (fibRbFcLcb2003 = new FibRbFcLcb2003())));
            break;
        case 0x00B7:
            fibRbFcLcb97 = (fibRbFcLcb2000 = (fibRbFcLcb2002 = (fibRbFcLcb2003 = (fibRbFcLcb2007 = new FibRbFcLcb2007()))));
            break;
        default: 
            if (Integer.compareUnsigned(size, (short)0x00B7) >= 0) 
                fibRbFcLcb97 = (fibRbFcLcb2000 = (fibRbFcLcb2002 = (fibRbFcLcb2003 = (fibRbFcLcb2007 = new FibRbFcLcb2007()))));
            else 
                fibRbFcLcb97 = new FibRbFcLcb97();
            break;
    }
    byte[] data = ReadUtils.readExact(s, (Short.toUnsignedInt(size)) * 8);
    fibRbFcLcb97.setfcStshfOrig(java.nio.ByteBuffer.wrap(data, 0, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbStshfOrig(java.nio.ByteBuffer.wrap(data, 4, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcStshf(java.nio.ByteBuffer.wrap(data, 8, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbStshf(java.nio.ByteBuffer.wrap(data, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcffndRef(java.nio.ByteBuffer.wrap(data, 16, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcffndRef(java.nio.ByteBuffer.wrap(data, 20, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcffndTxt(java.nio.ByteBuffer.wrap(data, 24, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcffndTxt(java.nio.ByteBuffer.wrap(data, 28, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfandRef(java.nio.ByteBuffer.wrap(data, 32, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfandRef(java.nio.ByteBuffer.wrap(data, 36, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfandTxt(java.nio.ByteBuffer.wrap(data, 40, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfandTxt(java.nio.ByteBuffer.wrap(data, 44, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfSed(java.nio.ByteBuffer.wrap(data, 48, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfSed(java.nio.ByteBuffer.wrap(data, 52, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcPad(java.nio.ByteBuffer.wrap(data, 56, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcPad(java.nio.ByteBuffer.wrap(data, 60, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfPhe(java.nio.ByteBuffer.wrap(data, 64, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfPhe(java.nio.ByteBuffer.wrap(data, 68, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfGlsy(java.nio.ByteBuffer.wrap(data, 72, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfGlsy(java.nio.ByteBuffer.wrap(data, 76, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfGlsy(java.nio.ByteBuffer.wrap(data, 80, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfGlsy(java.nio.ByteBuffer.wrap(data, 84, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfHdd(java.nio.ByteBuffer.wrap(data, 88, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfHdd(java.nio.ByteBuffer.wrap(data, 92, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfBteChpx(java.nio.ByteBuffer.wrap(data, 96, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfBteChpx(java.nio.ByteBuffer.wrap(data, 100, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfBtePapx(java.nio.ByteBuffer.wrap(data, 104, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfBtePapx(java.nio.ByteBuffer.wrap(data, 108, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfSea(java.nio.ByteBuffer.wrap(data, 112, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfSea(java.nio.ByteBuffer.wrap(data, 116, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfFfn(java.nio.ByteBuffer.wrap(data, 120, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfFfn(java.nio.ByteBuffer.wrap(data, 124, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfFldMom(java.nio.ByteBuffer.wrap(data, 128, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfFldMom(java.nio.ByteBuffer.wrap(data, 132, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfFldHdr(java.nio.ByteBuffer.wrap(data, 136, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfFldHdr(java.nio.ByteBuffer.wrap(data, 140, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfFldFtn(java.nio.ByteBuffer.wrap(data, 144, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfFldFtn(java.nio.ByteBuffer.wrap(data, 148, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfFldAtn(java.nio.ByteBuffer.wrap(data, 152, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfFldAtn(java.nio.ByteBuffer.wrap(data, 156, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfFldMcr(java.nio.ByteBuffer.wrap(data, 160, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfFldMcr(java.nio.ByteBuffer.wrap(data, 164, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfBkmk(java.nio.ByteBuffer.wrap(data, 168, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfBkmk(java.nio.ByteBuffer.wrap(data, 172, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfBkf(java.nio.ByteBuffer.wrap(data, 176, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfBkf(java.nio.ByteBuffer.wrap(data, 180, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfBkl(java.nio.ByteBuffer.wrap(data, 184, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfBkl(java.nio.ByteBuffer.wrap(data, 188, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcCmds(java.nio.ByteBuffer.wrap(data, 192, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbCmds(java.nio.ByteBuffer.wrap(data, 196, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcUnused1(java.nio.ByteBuffer.wrap(data, 200, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbUnused1(java.nio.ByteBuffer.wrap(data, 204, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfMcr(java.nio.ByteBuffer.wrap(data, 208, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfMcr(java.nio.ByteBuffer.wrap(data, 212, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPrDrvr(java.nio.ByteBuffer.wrap(data, 216, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPrDrvr(java.nio.ByteBuffer.wrap(data, 220, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPrEnvPort(java.nio.ByteBuffer.wrap(data, 224, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPrEnvPort(java.nio.ByteBuffer.wrap(data, 228, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPrEnvLand(java.nio.ByteBuffer.wrap(data, 232, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPrEnvLand(java.nio.ByteBuffer.wrap(data, 236, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcWss(java.nio.ByteBuffer.wrap(data, 240, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbWss(java.nio.ByteBuffer.wrap(data, 244, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcDop(java.nio.ByteBuffer.wrap(data, 248, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbDop(java.nio.ByteBuffer.wrap(data, 252, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfAssoc(java.nio.ByteBuffer.wrap(data, 256, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfAssoc(java.nio.ByteBuffer.wrap(data, 260, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcClx(java.nio.ByteBuffer.wrap(data, 264, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbClx(java.nio.ByteBuffer.wrap(data, 268, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfPgdFtn(java.nio.ByteBuffer.wrap(data, 272, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfPgdFtn(java.nio.ByteBuffer.wrap(data, 276, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcAutosaveSource(java.nio.ByteBuffer.wrap(data, 280, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbAutosaveSource(java.nio.ByteBuffer.wrap(data, 284, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcGrpXstAtnOwners(java.nio.ByteBuffer.wrap(data, 288, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbGrpXstAtnOwners(java.nio.ByteBuffer.wrap(data, 292, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfAtnBkmk(java.nio.ByteBuffer.wrap(data, 296, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfAtnBkmk(java.nio.ByteBuffer.wrap(data, 300, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcUnused2(java.nio.ByteBuffer.wrap(data, 304, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbUnused2(java.nio.ByteBuffer.wrap(data, 308, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcUnused3(java.nio.ByteBuffer.wrap(data, 312, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbUnused3(java.nio.ByteBuffer.wrap(data, 316, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcSpaMom(java.nio.ByteBuffer.wrap(data, 320, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcSpaMom(java.nio.ByteBuffer.wrap(data, 324, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcSpaHdr(java.nio.ByteBuffer.wrap(data, 328, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcSpaHdr(java.nio.ByteBuffer.wrap(data, 332, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfAtnBkf(java.nio.ByteBuffer.wrap(data, 336, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfAtnBkf(java.nio.ByteBuffer.wrap(data, 340, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfAtnBkl(java.nio.ByteBuffer.wrap(data, 344, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfAtnBkl(java.nio.ByteBuffer.wrap(data, 348, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPms(java.nio.ByteBuffer.wrap(data, 352, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPms(java.nio.ByteBuffer.wrap(data, 356, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcFormFldSttbs(java.nio.ByteBuffer.wrap(data, 360, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbFormFldSttbs(java.nio.ByteBuffer.wrap(data, 364, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfendRef(java.nio.ByteBuffer.wrap(data, 368, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfendRef(java.nio.ByteBuffer.wrap(data, 372, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfendTxt(java.nio.ByteBuffer.wrap(data, 376, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfendTxt(java.nio.ByteBuffer.wrap(data, 380, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfFldEdn(java.nio.ByteBuffer.wrap(data, 384, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfFldEdn(java.nio.ByteBuffer.wrap(data, 388, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcUnused4(java.nio.ByteBuffer.wrap(data, 392, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbUnused4(java.nio.ByteBuffer.wrap(data, 396, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcDggInfo(java.nio.ByteBuffer.wrap(data, 400, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbDggInfo(java.nio.ByteBuffer.wrap(data, 404, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfRMark(java.nio.ByteBuffer.wrap(data, 408, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfRMark(java.nio.ByteBuffer.wrap(data, 412, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfCaption(java.nio.ByteBuffer.wrap(data, 416, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfCaption(java.nio.ByteBuffer.wrap(data, 420, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfAutoCaption(java.nio.ByteBuffer.wrap(data, 424, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfAutoCaption(java.nio.ByteBuffer.wrap(data, 428, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfWkb(java.nio.ByteBuffer.wrap(data, 432, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfWkb(java.nio.ByteBuffer.wrap(data, 436, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfSpl(java.nio.ByteBuffer.wrap(data, 440, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfSpl(java.nio.ByteBuffer.wrap(data, 444, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcftxbxTxt(java.nio.ByteBuffer.wrap(data, 448, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcftxbxTxt(java.nio.ByteBuffer.wrap(data, 452, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfFldTxbx(java.nio.ByteBuffer.wrap(data, 456, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfFldTxbx(java.nio.ByteBuffer.wrap(data, 460, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfHdrtxbxTxt(java.nio.ByteBuffer.wrap(data, 464, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfHdrtxbxTxt(java.nio.ByteBuffer.wrap(data, 468, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcffldHdrTxbx(java.nio.ByteBuffer.wrap(data, 472, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcffldHdrTxbx(java.nio.ByteBuffer.wrap(data, 476, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcStwUser(java.nio.ByteBuffer.wrap(data, 480, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbStwUser(java.nio.ByteBuffer.wrap(data, 484, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbTtmbd(java.nio.ByteBuffer.wrap(data, 488, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbTtmbd(java.nio.ByteBuffer.wrap(data, 492, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcCookieData(java.nio.ByteBuffer.wrap(data, 496, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbCookieData(java.nio.ByteBuffer.wrap(data, 500, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPgdMotherOldOld(java.nio.ByteBuffer.wrap(data, 504, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPgdMotherOldOld(java.nio.ByteBuffer.wrap(data, 508, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcBkdMotherOldOld(java.nio.ByteBuffer.wrap(data, 512, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbBkdMotherOldOld(java.nio.ByteBuffer.wrap(data, 516, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPgdFtnOldOld(java.nio.ByteBuffer.wrap(data, 520, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPgdFtnOldOld(java.nio.ByteBuffer.wrap(data, 524, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcBkdFtnOldOld(java.nio.ByteBuffer.wrap(data, 528, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbBkdFtnOldOld(java.nio.ByteBuffer.wrap(data, 532, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPgdEdnOldOld(java.nio.ByteBuffer.wrap(data, 536, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPgdEdnOldOld(java.nio.ByteBuffer.wrap(data, 540, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcBkdEdnOldOld(java.nio.ByteBuffer.wrap(data, 544, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbBkdEdnOldOld(java.nio.ByteBuffer.wrap(data, 548, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfIntlFld(java.nio.ByteBuffer.wrap(data, 552, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfIntlFld(java.nio.ByteBuffer.wrap(data, 556, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcRouteSlip(java.nio.ByteBuffer.wrap(data, 560, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbRouteSlip(java.nio.ByteBuffer.wrap(data, 564, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbSavedBy(java.nio.ByteBuffer.wrap(data, 568, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbSavedBy(java.nio.ByteBuffer.wrap(data, 572, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbFnm(java.nio.ByteBuffer.wrap(data, 576, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbFnm(java.nio.ByteBuffer.wrap(data, 580, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlfLst(java.nio.ByteBuffer.wrap(data, 584, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlfLst(java.nio.ByteBuffer.wrap(data, 588, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlfLfo(java.nio.ByteBuffer.wrap(data, 592, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlfLfo(java.nio.ByteBuffer.wrap(data, 596, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfTxbxBkd(java.nio.ByteBuffer.wrap(data, 600, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfTxbxBkd(java.nio.ByteBuffer.wrap(data, 604, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfTxbxHdrBkd(java.nio.ByteBuffer.wrap(data, 608, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfTxbxHdrBkd(java.nio.ByteBuffer.wrap(data, 612, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcDocUndoWord9(java.nio.ByteBuffer.wrap(data, 616, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbDocUndoWord9(java.nio.ByteBuffer.wrap(data, 620, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcRgbUse(java.nio.ByteBuffer.wrap(data, 624, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbRgbUse(java.nio.ByteBuffer.wrap(data, 628, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcUsp(java.nio.ByteBuffer.wrap(data, 632, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbUsp(java.nio.ByteBuffer.wrap(data, 636, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcUskf(java.nio.ByteBuffer.wrap(data, 640, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbUskf(java.nio.ByteBuffer.wrap(data, 644, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcupcRgbUse(java.nio.ByteBuffer.wrap(data, 648, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcupcRgbUse(java.nio.ByteBuffer.wrap(data, 652, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcupcUsp(java.nio.ByteBuffer.wrap(data, 656, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcupcUsp(java.nio.ByteBuffer.wrap(data, 660, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbGlsyStyle(java.nio.ByteBuffer.wrap(data, 664, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbGlsyStyle(java.nio.ByteBuffer.wrap(data, 668, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlgosl(java.nio.ByteBuffer.wrap(data, 672, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlgosl(java.nio.ByteBuffer.wrap(data, 676, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcocx(java.nio.ByteBuffer.wrap(data, 680, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcocx(java.nio.ByteBuffer.wrap(data, 684, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfBteLvc(java.nio.ByteBuffer.wrap(data, 688, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfBteLvc(java.nio.ByteBuffer.wrap(data, 692, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setdwLowDateTime(java.nio.ByteBuffer.wrap(data, 696, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setdwHighDateTime(java.nio.ByteBuffer.wrap(data, 700, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfLvcPre10(java.nio.ByteBuffer.wrap(data, 704, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfLvcPre10(java.nio.ByteBuffer.wrap(data, 708, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfAsumy(java.nio.ByteBuffer.wrap(data, 712, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfAsumy(java.nio.ByteBuffer.wrap(data, 716, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcPlcfGram(java.nio.ByteBuffer.wrap(data, 720, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbPlcfGram(java.nio.ByteBuffer.wrap(data, 724, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbListNames(java.nio.ByteBuffer.wrap(data, 728, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbListNames(java.nio.ByteBuffer.wrap(data, 732, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setfcSttbfUssr(java.nio.ByteBuffer.wrap(data, 736, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    fibRbFcLcb97.setlcbSttbfUssr(java.nio.ByteBuffer.wrap(data, 740, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    if (fibRbFcLcb2000 != null) {
        fibRbFcLcb2000.setfcPlcfTch(java.nio.ByteBuffer.wrap(data, 744, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbPlcfTch(java.nio.ByteBuffer.wrap(data, 748, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcRmdThreading(java.nio.ByteBuffer.wrap(data, 752, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbRmdThreading(java.nio.ByteBuffer.wrap(data, 756, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcMid(java.nio.ByteBuffer.wrap(data, 760, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbMid(java.nio.ByteBuffer.wrap(data, 764, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcSttbRgtplc(java.nio.ByteBuffer.wrap(data, 768, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbSttbRgtplc(java.nio.ByteBuffer.wrap(data, 772, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcMsoEnvelope(java.nio.ByteBuffer.wrap(data, 776, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbMsoEnvelope(java.nio.ByteBuffer.wrap(data, 780, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcPlcfLad(java.nio.ByteBuffer.wrap(data, 784, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbPlcfLad(java.nio.ByteBuffer.wrap(data, 788, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcRgDofr(java.nio.ByteBuffer.wrap(data, 792, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbRgDofr(java.nio.ByteBuffer.wrap(data, 796, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcPlcosl(java.nio.ByteBuffer.wrap(data, 800, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbPlcosl(java.nio.ByteBuffer.wrap(data, 804, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcPlcfCookieOld(java.nio.ByteBuffer.wrap(data, 808, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbPlcfCookieOld(java.nio.ByteBuffer.wrap(data, 812, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcPgdMotherOld(java.nio.ByteBuffer.wrap(data, 816, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbPgdMotherOld(java.nio.ByteBuffer.wrap(data, 820, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcBkdMotherOld(java.nio.ByteBuffer.wrap(data, 824, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbBkdMotherOld(java.nio.ByteBuffer.wrap(data, 828, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcPgdFtnOld(java.nio.ByteBuffer.wrap(data, 832, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbPgdFtnOld(java.nio.ByteBuffer.wrap(data, 836, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcBkdFtnOld(java.nio.ByteBuffer.wrap(data, 840, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbBkdFtnOld(java.nio.ByteBuffer.wrap(data, 844, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcPgdEdnOld(java.nio.ByteBuffer.wrap(data, 848, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbPgdEdnOld(java.nio.ByteBuffer.wrap(data, 852, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setfcBkdEdnOld(java.nio.ByteBuffer.wrap(data, 856, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2000.setlcbBkdEdnOld(java.nio.ByteBuffer.wrap(data, 860, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    }
    if (fibRbFcLcb2002 != null) {
        fibRbFcLcb2002.setfcUnused10(java.nio.ByteBuffer.wrap(data, 864, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbUnused10(java.nio.ByteBuffer.wrap(data, 868, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfPgp(java.nio.ByteBuffer.wrap(data, 872, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfPgp(java.nio.ByteBuffer.wrap(data, 876, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfuim(java.nio.ByteBuffer.wrap(data, 880, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfuim(java.nio.ByteBuffer.wrap(data, 884, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlfguidUim(java.nio.ByteBuffer.wrap(data, 888, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlfguidUim(java.nio.ByteBuffer.wrap(data, 892, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcAtrdExtra(java.nio.ByteBuffer.wrap(data, 896, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbAtrdExtra(java.nio.ByteBuffer.wrap(data, 900, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlrsid(java.nio.ByteBuffer.wrap(data, 904, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlrsid(java.nio.ByteBuffer.wrap(data, 908, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcSttbfBkmkFactoid(java.nio.ByteBuffer.wrap(data, 912, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbSttbfBkmkFactoid(java.nio.ByteBuffer.wrap(data, 916, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfBkfFactoid(java.nio.ByteBuffer.wrap(data, 920, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfBkfFactoid(java.nio.ByteBuffer.wrap(data, 924, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfcookie(java.nio.ByteBuffer.wrap(data, 928, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfcookie(java.nio.ByteBuffer.wrap(data, 932, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfBklFactoid(java.nio.ByteBuffer.wrap(data, 936, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfBklFactoid(java.nio.ByteBuffer.wrap(data, 940, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcFactoidData(java.nio.ByteBuffer.wrap(data, 944, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbFactoidData(java.nio.ByteBuffer.wrap(data, 948, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcDocUndo(java.nio.ByteBuffer.wrap(data, 952, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbDocUndo(java.nio.ByteBuffer.wrap(data, 956, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcSttbfBkmkFcc(java.nio.ByteBuffer.wrap(data, 960, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbSttbfBkmkFcc(java.nio.ByteBuffer.wrap(data, 964, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfBkfFcc(java.nio.ByteBuffer.wrap(data, 968, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfBkfFcc(java.nio.ByteBuffer.wrap(data, 972, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfBklFcc(java.nio.ByteBuffer.wrap(data, 976, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfBklFcc(java.nio.ByteBuffer.wrap(data, 980, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcSttbfbkmkBPRepairs(java.nio.ByteBuffer.wrap(data, 984, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbSttbfbkmkBPRepairs(java.nio.ByteBuffer.wrap(data, 988, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfbkfBPRepairs(java.nio.ByteBuffer.wrap(data, 992, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfbkfBPRepairs(java.nio.ByteBuffer.wrap(data, 996, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfbklBPRepairs(java.nio.ByteBuffer.wrap(data, 1000, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfbklBPRepairs(java.nio.ByteBuffer.wrap(data, 1004, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPmsNew(java.nio.ByteBuffer.wrap(data, 1008, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPmsNew(java.nio.ByteBuffer.wrap(data, 1012, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcODSO(java.nio.ByteBuffer.wrap(data, 1016, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbODSO(java.nio.ByteBuffer.wrap(data, 1020, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfpmiOldXP(java.nio.ByteBuffer.wrap(data, 1024, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfpmiOldXP(java.nio.ByteBuffer.wrap(data, 1028, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfpmiNewXP(java.nio.ByteBuffer.wrap(data, 1032, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfpmiNewXP(java.nio.ByteBuffer.wrap(data, 1036, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcfpmiMixedXP(java.nio.ByteBuffer.wrap(data, 1040, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcfpmiMixedXP(java.nio.ByteBuffer.wrap(data, 1044, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcUnused20(java.nio.ByteBuffer.wrap(data, 1048, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbUnused20(java.nio.ByteBuffer.wrap(data, 1052, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcffactoid(java.nio.ByteBuffer.wrap(data, 1056, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcffactoid(java.nio.ByteBuffer.wrap(data, 1060, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcflvcOldXP(java.nio.ByteBuffer.wrap(data, 1064, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcflvcOldXP(java.nio.ByteBuffer.wrap(data, 1068, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcflvcNewXP(java.nio.ByteBuffer.wrap(data, 1072, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcflvcNewXP(java.nio.ByteBuffer.wrap(data, 1076, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setfcPlcflvcMixedXP(java.nio.ByteBuffer.wrap(data, 1080, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2002.setlcbPlcflvcMixedXP(java.nio.ByteBuffer.wrap(data, 1084, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    }
    if (fibRbFcLcb2003 != null) {
        fibRbFcLcb2003.setfcHplxsdr(java.nio.ByteBuffer.wrap(data, 1088, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbHplxsdr(java.nio.ByteBuffer.wrap(data, 1092, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcSttbfBkmkSdt(java.nio.ByteBuffer.wrap(data, 1096, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbSttbfBkmkSdt(java.nio.ByteBuffer.wrap(data, 1100, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfBkfSdt(java.nio.ByteBuffer.wrap(data, 1104, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfBkfSdt(java.nio.ByteBuffer.wrap(data, 1108, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfBklSdt(java.nio.ByteBuffer.wrap(data, 1112, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfBklSdt(java.nio.ByteBuffer.wrap(data, 1116, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcCustomXForm(java.nio.ByteBuffer.wrap(data, 1120, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbCustomXForm(java.nio.ByteBuffer.wrap(data, 1124, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcSttbfBkmkProt(java.nio.ByteBuffer.wrap(data, 1128, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbSttbfBkmkProt(java.nio.ByteBuffer.wrap(data, 1132, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfBkfProt(java.nio.ByteBuffer.wrap(data, 1136, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfBkfProt(java.nio.ByteBuffer.wrap(data, 1140, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfBklProt(java.nio.ByteBuffer.wrap(data, 1144, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfBklProt(java.nio.ByteBuffer.wrap(data, 1148, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcSttbProtUser(java.nio.ByteBuffer.wrap(data, 1152, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbSttbProtUser(java.nio.ByteBuffer.wrap(data, 1156, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcUnused(java.nio.ByteBuffer.wrap(data, 1160, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbUnused(java.nio.ByteBuffer.wrap(data, 1164, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfpmiOld(java.nio.ByteBuffer.wrap(data, 1168, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfpmiOld(java.nio.ByteBuffer.wrap(data, 1172, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfpmiOldInline(java.nio.ByteBuffer.wrap(data, 1176, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfpmiOldInline(java.nio.ByteBuffer.wrap(data, 1180, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfpmiNew(java.nio.ByteBuffer.wrap(data, 1184, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfpmiNew(java.nio.ByteBuffer.wrap(data, 1188, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcfpmiNewInline(java.nio.ByteBuffer.wrap(data, 1192, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcfpmiNewInline(java.nio.ByteBuffer.wrap(data, 1196, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcflvcOld(java.nio.ByteBuffer.wrap(data, 1200, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcflvcOld(java.nio.ByteBuffer.wrap(data, 1204, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcflvcOldInline(java.nio.ByteBuffer.wrap(data, 1208, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcflvcOldInline(java.nio.ByteBuffer.wrap(data, 1212, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcflvcNew(java.nio.ByteBuffer.wrap(data, 1216, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcflvcNew(java.nio.ByteBuffer.wrap(data, 1220, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPlcflvcNewInline(java.nio.ByteBuffer.wrap(data, 1224, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPlcflvcNewInline(java.nio.ByteBuffer.wrap(data, 1228, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPgdMother(java.nio.ByteBuffer.wrap(data, 1232, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPgdMother(java.nio.ByteBuffer.wrap(data, 1236, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcBkdMother(java.nio.ByteBuffer.wrap(data, 1240, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbBkdMother(java.nio.ByteBuffer.wrap(data, 1244, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcAfdMother(java.nio.ByteBuffer.wrap(data, 1248, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbAfdMother(java.nio.ByteBuffer.wrap(data, 1252, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPgdFtn(java.nio.ByteBuffer.wrap(data, 1256, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPgdFtn(java.nio.ByteBuffer.wrap(data, 1260, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcBkdFtn(java.nio.ByteBuffer.wrap(data, 1264, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbBkdFtn(java.nio.ByteBuffer.wrap(data, 1268, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcAfdFtn(java.nio.ByteBuffer.wrap(data, 1272, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbAfdFtn(java.nio.ByteBuffer.wrap(data, 1276, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcPgdEdn(java.nio.ByteBuffer.wrap(data, 1280, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbPgdEdn(java.nio.ByteBuffer.wrap(data, 1284, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcBkdEdn(java.nio.ByteBuffer.wrap(data, 1288, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbBkdEdn(java.nio.ByteBuffer.wrap(data, 1292, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcAfdEdn(java.nio.ByteBuffer.wrap(data, 1296, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbAfdEdn(java.nio.ByteBuffer.wrap(data, 1300, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setfcAfd(java.nio.ByteBuffer.wrap(data, 1304, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2003.setlcbAfd(java.nio.ByteBuffer.wrap(data, 1308, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    }
    if (fibRbFcLcb2007 != null) {
        fibRbFcLcb2007.setfcPlcfmthd(java.nio.ByteBuffer.wrap(data, 1312, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbPlcfmthd(java.nio.ByteBuffer.wrap(data, 1316, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcSttbfBkmkMoveFrom(java.nio.ByteBuffer.wrap(data, 1320, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbSttbfBkmkMoveFrom(java.nio.ByteBuffer.wrap(data, 1324, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcPlcfBkfMoveFrom(java.nio.ByteBuffer.wrap(data, 1328, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbPlcfBkfMoveFrom(java.nio.ByteBuffer.wrap(data, 1332, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcPlcfBklMoveFrom(java.nio.ByteBuffer.wrap(data, 1336, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbPlcfBklMoveFrom(java.nio.ByteBuffer.wrap(data, 1340, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcSttbfBkmkMoveTo(java.nio.ByteBuffer.wrap(data, 1344, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbSttbfBkmkMoveTo(java.nio.ByteBuffer.wrap(data, 1348, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcPlcfBkfMoveTo(java.nio.ByteBuffer.wrap(data, 1352, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbPlcfBkfMoveTo(java.nio.ByteBuffer.wrap(data, 1356, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcPlcfBklMoveTo(java.nio.ByteBuffer.wrap(data, 1360, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbPlcfBklMoveTo(java.nio.ByteBuffer.wrap(data, 1364, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcUnused11(java.nio.ByteBuffer.wrap(data, 1368, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbUnused11(java.nio.ByteBuffer.wrap(data, 1372, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcUnused22(java.nio.ByteBuffer.wrap(data, 1376, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbUnused22(java.nio.ByteBuffer.wrap(data, 1380, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcUnused33(java.nio.ByteBuffer.wrap(data, 1384, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbUnused33(java.nio.ByteBuffer.wrap(data, 1388, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcSttbfBkmkArto(java.nio.ByteBuffer.wrap(data, 1392, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbSttbfBkmkArto(java.nio.ByteBuffer.wrap(data, 1396, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcPlcfBkfArto(java.nio.ByteBuffer.wrap(data, 1400, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbPlcfBkfArto(java.nio.ByteBuffer.wrap(data, 1404, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcPlcfBklArto(java.nio.ByteBuffer.wrap(data, 1408, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbPlcfBklArto(java.nio.ByteBuffer.wrap(data, 1412, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcArtoData(java.nio.ByteBuffer.wrap(data, 1416, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbArtoData(java.nio.ByteBuffer.wrap(data, 1420, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcUnused44(java.nio.ByteBuffer.wrap(data, 1424, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbUnused44(java.nio.ByteBuffer.wrap(data, 1428, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcUnused5(java.nio.ByteBuffer.wrap(data, 1432, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbUnused5(java.nio.ByteBuffer.wrap(data, 1436, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcUnused6(java.nio.ByteBuffer.wrap(data, 1440, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbUnused6(java.nio.ByteBuffer.wrap(data, 1444, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcOssTheme(java.nio.ByteBuffer.wrap(data, 1448, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbOssTheme(java.nio.ByteBuffer.wrap(data, 1452, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setfcColorSchemeMapping(java.nio.ByteBuffer.wrap(data, 1456, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRbFcLcb2007.setlcbColorSchemeMapping(java.nio.ByteBuffer.wrap(data, 1460, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
    }
    return fibRbFcLcb97;
    }

    private static FibRgLw97 readFibRgLw97(com.pullenti.unisharp.Stream s, short size) throws Exception, java.io.IOException {
        int fibRgLw97Size = 88;
        if (((Short.toUnsignedInt(size)) * 4) != fibRgLw97Size) 
            throw new Exception("Invalid FibRgLw97 size");
        byte[] data = ReadUtils.readExact(s, fibRgLw97Size);
        FibRgLw97 fibRgLw97 = new FibRgLw97();
        fibRgLw97.setcbMac(java.nio.ByteBuffer.wrap(data, 0, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRgLw97.setccpText(java.nio.ByteBuffer.wrap(data, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRgLw97.setccpFtn(java.nio.ByteBuffer.wrap(data, 16, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRgLw97.setccpHdd(java.nio.ByteBuffer.wrap(data, 20, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRgLw97.setccpAtn(java.nio.ByteBuffer.wrap(data, 28, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRgLw97.setccpEdn(java.nio.ByteBuffer.wrap(data, 32, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRgLw97.setccpTxbx(java.nio.ByteBuffer.wrap(data, 36, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibRgLw97.setccpHdrTxbx(java.nio.ByteBuffer.wrap(data, 40, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        return fibRgLw97;
    }

    private static FibRgW97 readFibRgW97(com.pullenti.unisharp.Stream s, short size) throws Exception, java.io.IOException {
        int fibRgW97Size = 28;
        if (((Short.toUnsignedInt(size)) * 2) < fibRgW97Size) 
            throw new Exception("Invalid FibRgW97 size");
        byte[] data = ReadUtils.readExact(s, fibRgW97Size);
        FibRgW97 fibRgW97 = new FibRgW97();
        fibRgW97.setlidFE(java.nio.ByteBuffer.wrap(data, 26, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        return fibRgW97;
    }

    private static FibBase readFibBase(com.pullenti.unisharp.Stream s) throws Exception, java.io.IOException {
        int wordFileSignature = (int)0xA5EC;
        int wordFileSignature6 = (int)0xA5DC;
        byte[] data = ReadUtils.readExact(s, 32);
        FibBase fibBase = new FibBase();
        fibBase.setwIdent(java.nio.ByteBuffer.wrap(data, 0, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        fibBase.setnFib(java.nio.ByteBuffer.wrap(data, 2, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        if (Integer.compareUnsigned(Short.toUnsignedInt(fibBase.getwIdent()), wordFileSignature6) == 0) 
            return null;
        if (Integer.compareUnsigned(Short.toUnsignedInt(fibBase.getwIdent()), wordFileSignature) != 0) 
            throw new Exception("Invalid word file signature");
        fibBase.setlid(java.nio.ByteBuffer.wrap(data, 6, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        fibBase.setpnNext(java.nio.ByteBuffer.wrap(data, 8, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort());
        short flags;
        flags = java.nio.ByteBuffer.wrap(data, 10, 2).order(java.nio.ByteOrder.LITTLE_ENDIAN).getShort();
        fibBase.setfDot((((Short.toUnsignedInt(flags)) & 0x0001)) != 0);
        fibBase.setfGlsy((((Short.toUnsignedInt(flags)) & 0x0002)) != 0);
        fibBase.setfComplex((((Short.toUnsignedInt(flags)) & 0x0004)) != 0);
        fibBase.setfHasPic((((Short.toUnsignedInt(flags)) & 0x0008)) != 0);
        fibBase.setcQuickSaves((byte)(((((Short.toUnsignedInt(flags)) >>> 4)) & 0x0F)));
        fibBase.setfEncrypted((((Short.toUnsignedInt(flags)) & 0x0100)) != 0);
        fibBase.setfWhichTblStm((((Short.toUnsignedInt(flags)) & 0x0200)) != 0);
        fibBase.setfReadOnlyRecommended((((Short.toUnsignedInt(flags)) & 0x0400)) != 0);
        fibBase.setfWriteReservation((((Short.toUnsignedInt(flags)) & 0x0800)) != 0);
        fibBase.setfExtChar((((Short.toUnsignedInt(flags)) & 0x1000)) != 0);
        fibBase.setfLoadOverride((((Short.toUnsignedInt(flags)) & 0x2000)) != 0);
        fibBase.setfFarEast((((Short.toUnsignedInt(flags)) & 0x4000)) != 0);
        fibBase.setfObfuscated((((Short.toUnsignedInt(flags)) & 0x8000)) != 0);
        fibBase.setlKey(java.nio.ByteBuffer.wrap(data, 14, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN).getInt());
        fibBase.setenvr(data[18]);
        flags = (short)data[19];
        fibBase.setfMac((((Short.toUnsignedInt(flags)) & 0x0001)) != 0);
        fibBase.setfEmptySpecial((((Short.toUnsignedInt(flags)) & 0x0002)) != 0);
        fibBase.setfLoadOverridePage((((Short.toUnsignedInt(flags)) & 0x0004)) != 0);
        return fibBase;
    }
    public FibStructuresReader() {
    }
}
