public WranglerDBB cSetHeaderBufferAs(DBB arg, int nRecords, int nRecordCoreLength, int nRecordVariableLength) //throws com.WDataSci.WDS.WDSException, Exception { this.Header.Buffer = new DBB(arg, true) .cAsUsualLayout("WDSH", DBB.Default.nLeadingBytes, nRecords, nRecordCoreLength, nRecordVariableLength); //The usual header has only two string; this.Header.MaxStringByteLength = nRecordVariableLength / 2; this.Header.MaxStringLength = this.Header.MaxStringByteLength / 2; arg.isValid(); return(this); }