public override void Write(aBinaryWriter writer, string value) { if (value.Length > mMultiple) { value = value.Substring(0, mMultiple); } writer.WriteString(value); var count = mMultiple - value.Length; while (count-- > 0) { writer.WriteChar('\0'); } }
public override void Write(aBinaryWriter writer, string value) { base.Write(writer, value); writer.WriteChar('\0'); }
public override void Write(aBinaryWriter writer, string value) { writer.WriteString(value); writer.WriteChar('\0'); }