Struct NativeString32
Syntax
public struct NativeString32 : IComparable<NativeString32>, IEquatable<NativeString32>
Constructors
NativeString32(String)
Declaration
public NativeString32(string source)
Parameters
Type |
Name |
Description |
String |
source |
|
NativeString32(ref NativeString128)
Declaration
public NativeString32(ref NativeString128 source)
Parameters
NativeString32(ref NativeString4096)
Declaration
public NativeString32(ref NativeString4096 source)
Parameters
NativeString32(ref NativeString512)
Declaration
public NativeString32(ref NativeString512 source)
Parameters
NativeString32(ref NativeString64)
Declaration
public NativeString32(ref NativeString64 source)
Parameters
Fields
buffer
Declaration
Field Value
LengthInBytes
Declaration
public ushort LengthInBytes
Field Value
MaxLength
Declaration
public const int MaxLength = 30
Field Value
Properties
Utf8Buffer
When the address of the UTF-8 buffer is needed, please use this property.
Declaration
public Bytes1 Utf8Buffer { get; }
Property Value
Utf8BufferLengthInBytes
When the length in bytes of the UTF-8 buffer is needed, please use this property.
Declaration
public int Utf8BufferLengthInBytes { get; set; }
Property Value
Methods
Append(Int32)
Declaration
public FormatError Append(int input)
Parameters
Type |
Name |
Description |
Int32 |
input |
|
Returns
Append(Int64)
Declaration
public FormatError Append(long input)
Parameters
Type |
Name |
Description |
Int64 |
input |
|
Returns
Append(Single, Char)
Declaration
public FormatError Append(float input, char decimalSeparator = '.')
Parameters
Type |
Name |
Description |
Single |
input |
|
Char |
decimalSeparator |
|
Returns
AppendFrom(NativeString128)
Declaration
public CopyError AppendFrom(NativeString128 source)
Parameters
Returns
AppendFrom(NativeString32)
Declaration
public CopyError AppendFrom(NativeString32 source)
Parameters
Returns
AppendFrom(NativeString4096)
Declaration
public CopyError AppendFrom(NativeString4096 source)
Parameters
Returns
AppendFrom(NativeString512)
Declaration
public CopyError AppendFrom(NativeString512 source)
Parameters
Returns
AppendFrom(NativeString64)
Declaration
public CopyError AppendFrom(NativeString64 source)
Parameters
Returns
AppendTo(Byte*, ref UInt16, UInt16)
Declaration
public CopyError AppendTo(byte *d, ref ushort length, ushort maxLength)
Parameters
Returns
AppendTo(Char*, ref UInt16, UInt16)
Declaration
public CopyError AppendTo(char *d, ref ushort length, ushort maxLength)
Parameters
Returns
CompareTo(NativeString32)
Declaration
public int CompareTo(NativeString32 other)
Parameters
Returns
CopyFrom(Char*, UInt16)
Declaration
public CopyError CopyFrom(char *s, ushort length)
Parameters
Returns
CopyFrom(String)
Declaration
public CopyError CopyFrom(string source)
Parameters
Type |
Name |
Description |
String |
source |
|
Returns
CopyFrom(NativeString128)
Declaration
public CopyError CopyFrom(NativeString128 source)
Parameters
Returns
CopyFrom(NativeString32)
Declaration
public CopyError CopyFrom(NativeString32 source)
Parameters
Returns
CopyFrom(NativeString4096)
Declaration
public CopyError CopyFrom(NativeString4096 source)
Parameters
Returns
CopyFrom(NativeString512)
Declaration
public CopyError CopyFrom(NativeString512 source)
Parameters
Returns
CopyFrom(NativeString64)
Declaration
public CopyError CopyFrom(NativeString64 source)
Parameters
Returns
CopyTo(Byte*, out UInt16, UInt16)
Declaration
public CopyError CopyTo(byte *d, out ushort length, ushort maxLength)
Parameters
Returns
CopyTo(Char*, out UInt16, UInt16)
Declaration
public CopyError CopyTo(char *d, out ushort length, ushort maxLength)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(NativeString32)
Declaration
public bool Equals(NativeString32 other)
Parameters
Returns
Declaration
public FormatError Format(int input)
Parameters
Type |
Name |
Description |
Int32 |
input |
|
Returns
Declaration
public FormatError Format(long input)
Parameters
Type |
Name |
Description |
Int64 |
input |
|
Returns
Declaration
public FormatError Format(float input, char decimalSeparator = '.')
Parameters
Type |
Name |
Description |
Single |
input |
|
Char |
decimalSeparator |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Parse(ref Int32, ref Int32)
Declaration
public ParseError Parse(ref int offset, ref int output)
Parameters
Returns
Parse(ref Int32, ref Single, Char)
Declaration
public ParseError Parse(ref int offset, ref float output, char decimalSeparator = '.')
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Implicit(String to NativeString32)
Declaration
public static implicit operator NativeString32(string b)
Parameters
Type |
Name |
Description |
String |
b |
|
Returns
Extension Methods