// Token: 0x06000537 RID: 1335 RVA: 0x00010B24 File Offset: 0x0000ED24 public void WriteStrings(string[] value, int offset, int count, ABinaryStringFormat format) { for (int i = 0; i < count; i++) { this.WriteString(value[i + offset], format); } }
// Token: 0x06000534 RID: 1332 RVA: 0x00010A4C File Offset: 0x0000EC4C public void WriteString(string value, ABinaryStringFormat format) { if (format == null) { throw new ArgumentNullException("format", "String format may not be null."); } if (format.Type == ABinaryStringFormatType.RawWithLength) { this.WriteS32(value.Length); } if (format.Type == ABinaryStringFormatType.Clamped) { if (value.Length > format.Multiple) { value = value.Substring(0, format.Multiple); } this.WriteChars(value.ToCharArray()); if (value.Length < format.Multiple) { int num = format.Multiple - value.Length; while (num-- > 0) { base.Stream.WriteByte(0); } } } else { this.WriteChars(value.ToCharArray()); } if (format.Type == ABinaryStringFormatType.NullTerminated) { base.Stream.WriteByte(0); } }
// Token: 0x06000536 RID: 1334 RVA: 0x00010B16 File Offset: 0x0000ED16 public void WriteStrings(string[] value, int count, ABinaryStringFormat format) { this.WriteStrings(value, 0, count, format); }
// Token: 0x06000535 RID: 1333 RVA: 0x00010B08 File Offset: 0x0000ED08 public void WriteStrings(string[] value, ABinaryStringFormat format) { this.WriteStrings(value, 0, value.Length, format); }