Inherits IDisposable.

Public Member Functions

virtual void Dispose ()
 
override int GetHashCode ()
 
override string ToString ()
 
void SetChar (uint index, char inChar)
 
void Replace (uint index, uint count, char inChar)
 
 RakString (char input)
 
 RakString (byte input)
 
 RakString (string format)
 
 RakString (RakString rhs)
 
string C_String ()
 
string C_StringUnsafe ()
 
RakString CopyData (RakString rhs)
 
RakString CopyData (string str)
 
RakString CopyData (SWIGTYPE_p_unsigned_char str)
 
RakString CopyData (char c)
 
uint Find (string stringToFind, uint pos)
 
uint Find (string stringToFind)
 
bool Equals (RakString rhs)
 
bool Equals (string str)
 
string ToLower ()
 
string ToUpper ()
 
void Set (string format)
 
RakString Assign (string str, uint pos, uint n)
 
bool IsEmpty ()
 
uint GetLength ()
 
uint GetLengthUTF8 ()
 
void Replace (uint index, uint count, byte c)
 
void SetChar (uint index, byte c)
 
void SetChar (uint index, RakString s)
 
void Truncate (uint length)
 
void TruncateUTF8 (uint length)
 
RakString SubStr (uint index, uint count)
 
void Erase (uint index, uint count)
 
void TerminateAtFirstCharacter (char c)
 
void TerminateAtLastCharacter (char c)
 
void StartAfterFirstCharacter (char c)
 
void StartAfterLastCharacter (char c)
 
int GetCharacterCount (char c)
 
void RemoveCharacter (char c)
 
int StrCmp (RakString rhs)
 
int StrNCmp (RakString rhs, uint num)
 
int StrICmp (RakString rhs)
 
void Clear ()
 
void Printf ()
 
bool IPAddressMatch (string IP)
 
bool ContainsNonprintableExceptSpaces ()
 
bool IsEmailAddress ()
 
RakString URLEncode ()
 
RakString URLDecode ()
 
void SplitURI (RakString header, RakString domain, RakString path)
 
RakString SQLEscape ()
 
RakString MakeFilePath ()
 
void Serialize (BitStream bs)
 
void SerializeCompressed (BitStream bs, byte languageId, bool writeLanguageId)
 
void SerializeCompressed (BitStream bs, byte languageId)
 
void SerializeCompressed (BitStream bs)
 
bool Deserialize (BitStream bs)
 
bool DeserializeCompressed (BitStream bs, bool readLanguageId)
 
bool DeserializeCompressed (BitStream bs)
 
void AppendBytes (byte[] inByteArray, uint count)
 

Static Public Member Functions

static bool operator== (RakString a, RakString b)
 
static bool operator== (RakString a, string b)
 
static bool operator== (RakString a, char b)
 
static bool operator!= (RakString a, char b)
 
static bool operator!= (RakString a, RakString b)
 
static bool operator!= (RakString a, string b)
 
static bool operator< (RakString a, RakString b)
 
static bool operator> (RakString a, RakString b)
 
static bool operator<= (RakString a, RakString b)
 
static bool operator>= (RakString a, RakString b)
 
static RakString operator+ (RakString a, RakString b)
 
static implicit operator RakString (String s)
 
static implicit operator RakString (char c)
 
static implicit operator RakString (byte c)
 
static RakString NonVariadic (string str)
 
static uint ToInteger (string str)
 
static uint ToInteger (RakString rs)
 
static int ReadIntFromSubstring (string str, uint pos, uint n)
 
static RakString FormatForPOST (string uri, string contentType, string body, string extraHeaders)
 
static RakString FormatForPOST (string uri, string contentType, string body)
 
static RakString FormatForPUT (string uri, string contentType, string body, string extraHeaders)
 
static RakString FormatForPUT (string uri, string contentType, string body)
 
static RakString FormatForGET (string uri, string extraHeaders)
 
static RakString FormatForGET (string uri)
 
static RakString FormatForDELETE (string uri, string extraHeaders)
 
static RakString FormatForDELETE (string uri)
 
static void FreeMemory ()
 
static void FreeMemoryNoMutex ()
 
static void Serialize (string str, BitStream bs)
 
static void SerializeCompressed (string str, BitStream bs, byte languageId, bool writeLanguageId)
 
static void SerializeCompressed (string str, BitStream bs, byte languageId)
 
static void SerializeCompressed (string str, BitStream bs)
 
static bool Deserialize (string str, BitStream bs)
 
static bool DeserializeCompressed (string str, BitStream bs, bool readLanguageId)
 
static bool DeserializeCompressed (string str, BitStream bs)
 
static string ToString (long i)
 
static string ToString (ulong i)
 
static uint GetSizeToAllocate (uint bytes)
 
static int RakStringComp (RakString key, RakString data)
 
static void LockMutex ()
 
static void UnlockMutex ()
 

Protected Attributes

bool swigCMemOwn
 

Properties

char this[int index] [get, set]
 

The documentation for this class was generated from the following file:
  • Raknet.scharp/RakString.cs