Class StandardRecord

    • Method Detail

      • getRecordSize

        public final int getRecordSize()
        Description copied from class: RecordBase
        gives the current serialized size of the record. Should include the sid and reclength (4 bytes).
        Specified by:
        getRecordSize in class RecordBase
        Returns:
        the record size
      • serialize

        public final int serialize​(int offset,
                                   byte[] data)
        Write the data content of this BIFF record including the sid and record length.

        The subclass must write the exact number of bytes as reported by RecordBase.getRecordSize()}

        Specified by:
        serialize in class RecordBase
        Parameters:
        offset - to begin writing at
        data - byte array containing instance data
        Returns:
        number of bytes written
      • copy

        public abstract StandardRecord copy()
        Specified by:
        copy in interface org.apache.poi.common.Duplicatable
        Specified by:
        copy in class Record