private WriteUnicodeString ( int offset, string value ) : void | ||
offset | int | |
value | string | |
Résultat | void |
private void WriteString(MemoryHolder address, int offset, string str) { SimpleType st = (SimpleType)_type; Debug.Assert(st._type == SimpleTypeKind.WChar && str.Length <= _length); if (str.Length < _length) { str = str + '\x00'; } address.WriteUnicodeString(offset, str); }
private void WriteString(MemoryHolder address, int offset, string str) { SimpleType st = (SimpleType)_type; if (str.Length < _length) { str = str + '\x00'; } if (st._type == SimpleTypeKind.Char) { address.WriteAnsiString(offset, str); } else { address.WriteUnicodeString(offset, str); } }
private void WriteString(MemoryHolder address, int offset, string str) { SimpleType st = (SimpleType)_type; if (str.Length < _length) { str = str + '\x00'; } if (st._type == SimpleTypeKind.Char) { address.WriteAnsiString(offset, str); } else { address.WriteUnicodeString(offset, str); } }