public RefErrorPtg(LittleEndianInput in) { field_1_reserved = in.readInt(); }
public DataSpaceMapEntry(LittleEndianInput is) { /*int length = */ is.readInt(); int referenceComponentCount = is.readInt(); referenceComponentType = new int[referenceComponentCount]; referenceComponent = new String[referenceComponentCount]; for (int i=0; i<referenceComponentCount; i++) { referenceComponentType[i] = is.readInt(); referenceComponent[i] = readUnicodeLPP4(is); } dataSpaceName = readUnicodeLPP4(is); }
/** Creates new Ico Multi-State Threshold */ public IconMultiStateThreshold(LittleEndianInput in) { super(in); equals = in.readByte(); // Reserved, 4 bytes, all 0 in.readInt(); }
/** * Reads a 32 bit, signed value */ @Override public int readInt() { checkRecordPosition(LittleEndianConsts.INT_SIZE); _currentDataOffset += LittleEndianConsts.INT_SIZE; return _dataInput.readInt(); }
/** Creates new DeletedRef3DPtg */ public DeletedRef3DPtg(LittleEndianInput in) { field_1_index_extern_sheet = in.readUShort(); unused1 = in.readInt(); }
public MemAreaPtg(LittleEndianInput in) { field_1_reserved = in.readInt(); field_2_subex_len = in.readShort(); }
public MemErrPtg(LittleEndianInput in) { field_1_reserved = in.readInt(); field_2_subex_len = in.readShort(); }
public CommonObjectDataSubRecord(LittleEndianInput in, int size) { if (size != 18) { throw new RecordFormatException("Expected size 18 but got (" + size + ")"); } field_1_objectType = in.readShort(); field_2_objectId = in.readUShort(); field_3_option = in.readShort(); field_4_reserved1 = in.readInt(); field_5_reserved2 = in.readInt(); field_6_reserved3 = in.readInt(); }
public void read( LittleEndianInput lei ) { int size = lei.readInt(); _value = IOUtils.safelyAllocate(size, MAX_RECORD_LENGTH); if ( size > 0 ) { lei.readFully(_value); } } }
public Initial(LittleEndianInput in) { _reserved0 = in.readInt(); _reserved1 = in.readUShort(); _reserved2 = in.readUByte(); } private static RuntimeException invalid() {
public OfficeArtRecordHeader(LittleEndianInput in) { _verAndInstance = in.readUShort(); _type = in.readUShort(); _length = in.readInt(); }
public IRMDSTransformInfo(LittleEndianInput is) { transformInfoHeader = new TransformInfoHeader(is); extensibilityHeader = is.readInt(); xrMLLicense = readUtf8LPP4(is); // finish with 0x04 (int) ??? }
public GUID(LittleEndianInput in) { this(in.readInt(), in.readUShort(), in.readUShort(), in.readLong()); }
public TransformInfoHeader(LittleEndianInput is) { /* int length = */ is.readInt(); transformType = is.readInt(); transformerId = readUnicodeLPP4(is); transformerName = readUnicodeLPP4(is); readerVersionMajor = is.readShort(); readerVersionMinor = is.readShort(); updaterVersionMajor = is.readShort(); updaterVersionMinor = is.readShort(); writerVersionMajor = is.readShort(); writerVersionMinor = is.readShort(); }
/** * initialize the builder from a stream */ @Override public void initialize(EncryptionInfo info, LittleEndianInput dis) throws IOException { /* int hSize = */ dis.readInt(); StandardEncryptionHeader header = new StandardEncryptionHeader(dis); info.setHeader(header); info.setVerifier(new StandardEncryptionVerifier(dis, header)); if (info.getVersionMinor() == 2 && (info.getVersionMajor() == 3 || info.getVersionMajor() == 4)) { StandardDecryptor dec = new StandardDecryptor(); dec.setEncryptionInfo(info); info.setDecryptor(dec); } }