public BOFRecord(RecordInputStream in) {field_1_version  = in.readShort();field_2_type     = in.readShort();if (in.remaining() >= 2) {field_3_build = in.readShort();}if (in.remaining() >= 2) {field_4_year = in.readShort();}if (in.remaining() >= 4) {field_5_history  = in.readInt();}if (in.remaining() >= 4) {field_6_rversion = in.readInt();}}

public BOFRecord(RecordInputStream in1){field_1_version = in1.ReadShort();field_2_type = in1.ReadShort();if (in1.Remaining >= 2){field_3_build = in1.ReadShort();}if (in1.Remaining >= 2){field_4_year = in1.ReadShort();}if (in1.Remaining >= 4){field_5_history = in1.ReadInt();}if (in1.Remaining >= 4){field_6_rversion = in1.ReadInt();}}
