public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[BOF RECORD]\n");buffer.append("    .version  = ").append(HexDump.shortToHex(getVersion())).append("\n");buffer.append("    .type     = ").append(HexDump.shortToHex(getType()));buffer.append(" (").append(getTypeName()).append(")").append("\n");buffer.append("    .build    = ").append(HexDump.shortToHex(getBuild())).append("\n");buffer.append("    .buildyear= ").append(getBuildYear()).append("\n");buffer.append("    .history  = ").append(HexDump.intToHex(getHistoryBitMask())).append("\n");buffer.append("    .reqver   = ").append(HexDump.intToHex(getRequiredVersion())).append("\n");buffer.append("[/BOF RECORD]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[BOF RECORD]\n");buffer.Append("    .version         = ").Append(StringUtil.ToHexString(Version)).Append("\n");buffer.Append("    .type            = ").Append(StringUtil.ToHexString((int) Type)).Append("\n");buffer.Append(" (").Append(TypeName).Append(")").Append("\n");buffer.Append("    .build           = ").Append(StringUtil.ToHexString(Build)).Append("\n");buffer.Append("    .buildyear       = ").Append(BuildYear).Append("\n");buffer.Append("    .history         = ").Append(StringUtil.ToHexString(HistoryBitMask)).Append("\n");buffer.Append("    .requiredversion = ").Append(StringUtil.ToHexString(RequiredVersion)).Append("\n");buffer.Append("[/BOF RECORD]\n");return buffer.ToString();}
