Property | Type | Description | |
---|---|---|---|
_owner | MutableString |
Method | Description | |
---|---|---|
Append ( Content content, int start, int count ) : void | ||
Append ( System.Stream stream, int count ) : void | ||
Append ( byte b, int repeatCount ) : void | ||
Append ( byte bytes, int start, int count ) : void | ||
Append ( char c, int repeatCount ) : void | ||
Append ( char chars, int start, int count ) : void | ||
Append ( string str, int start, int count ) : void | ||
AppendFormat ( IFormatProvider provider, string format, object args ) : void | ||
AppendTo ( BinaryContent content, int start, int count ) : void | ||
AppendTo ( CharArrayContent content, int start, int count ) : void | ||
AppendTo ( StringContent content, int start, int count ) : void | ||
CalculateHashCode ( ) : int | ||
CheckEncoding ( ) : void | ||
Clone ( ) : Content | ||
Concat ( Content content ) : Content | ||
ConcatTo ( BinaryContent content ) : Content | ||
ConcatTo ( CharArrayContent content ) : Content | ||
ConcatTo ( StringContent content ) : Content | ||
ContainsInvalidCharacters ( ) : bool | ||
ConvertToBytes ( ) : byte[] | ||
ConvertToString ( ) : string | ||
EscapeRegularExpression ( ) : Content | ||
GetBinarySlice ( int start, int count ) : byte[] | ||
GetByte ( int index ) : byte |
Gets index'th byte of the string. Throws if the string includes invalid characters.
|
|
GetByteCount ( ) : int |
Returns the number of bytes in the string. Throws if the string includes invalid characters.
|
|
GetBytes ( ) : IEnumerable |
||
GetCapacity ( ) : int | ||
GetChar ( int index ) : char |
Gets index'th character of the string. Throws if the string includes invalid characters.
|
|
GetCharCount ( ) : int |
Returns the number of characters in the string. Counts surrogates as two characters.
|
|
GetCharacterCount ( ) : int |
Returns the number of true Unicode characters in the string.
|
|
GetCharacters ( ) : CharacterEnumerator | ||
GetSlice ( int start, int count ) : Content |
Returns a slice of the content. The size of the slice could be less than the requested count if there is not enough data in the content. Returns an empty content if start is greater than the size of the content. The owner of the result is the current owner.
|
|
GetStringSlice ( int start, int count ) : string | ||
IndexIn ( Content str, int start, int count ) : int | ||
IndexOf ( byte b, int start, int count ) : int | ||
IndexOf ( char c, int start, int count ) : int | ||
IndexOf ( string str, int start, int count ) : int | ||
Insert ( int index, byte b ) : void | ||
Insert ( int index, byte bytes, int start, int count ) : void | ||
Insert ( int index, char c ) : void | ||
Insert ( int index, char chars, int start, int count ) : void | ||
Insert ( int index, string str, int start, int count ) : void | ||
InsertTo ( Content str, int index, int start, int count ) : void | ||
LastIndexIn ( Content str, int start, int count ) : int | ||
LastIndexOf ( byte b, int start, int count ) : int | ||
LastIndexOf ( char c, int start, int count ) : int | ||
LastIndexOf ( string str, int start, int count ) : int | ||
OrdinalCompareTo ( Content content ) : int | ||
OrdinalCompareTo ( string str ) : int | ||
Remove ( int start, int count ) : void | ||
ReverseOrdinalCompareTo ( BinaryContent content ) : int | ||
ReverseOrdinalCompareTo ( CharArrayContent content ) : int | ||
ReverseOrdinalCompareTo ( StringContent content ) : int | ||
SetByte ( int index, byte b ) : void | ||
SetCapacity ( int capacity ) : void | ||
SetChar ( int index, char c ) : void | ||
StartsWith ( char c ) : bool | ||
SwitchToBinaryContent ( ) : Content | ||
SwitchToMutableContent ( ) : Content | ||
SwitchToStringContent ( ) : Content | ||
ToByteArray ( ) : byte[] | ||
TrimExcess ( ) : void | ||
UpdateCharacterFlags ( uint flags ) : uint | ||
Write ( int offset, byte value, int repeatCount ) : void | ||
Write ( int offset, byte value, int start, int count ) : void |
Method | Description | |
---|---|---|
Content ( MutableString owner ) : System | ||
WrapContent ( byte bytes, int count ) : BinaryContent | ||
WrapContent ( char chars, int count ) : CharArrayContent |
Method | Description | |
---|---|---|
GetByteArray ( int &count ) : byte[] | ||
SetOwner ( MutableString owner ) : void | ||
UpdateAsciiAndSurrogatesFlags ( char str, int itemCount, uint flags ) : uint | ||
UpdateAsciiAndSurrogatesFlags ( string str, uint flags ) : uint |
public abstract Append ( Content content, int start, int count ) : void | ||
content | Content | |
start | int | |
count | int | |
return | void |
public abstract Append ( System.Stream stream, int count ) : void | ||
stream | System.Stream | |
count | int | |
return | void |
public abstract Append ( byte b, int repeatCount ) : void | ||
b | byte | |
repeatCount | int | |
return | void |
public abstract Append ( byte bytes, int start, int count ) : void | ||
bytes | byte | |
start | int | |
count | int | |
return | void |
public abstract Append ( char c, int repeatCount ) : void | ||
c | char | |
repeatCount | int | |
return | void |
public abstract Append ( char chars, int start, int count ) : void | ||
chars | char | |
start | int | |
count | int | |
return | void |
public abstract Append ( string str, int start, int count ) : void | ||
str | string | |
start | int | |
count | int | |
return | void |
public abstract AppendFormat ( IFormatProvider provider, string format, object args ) : void | ||
provider | IFormatProvider | |
format | string | |
args | object | |
return | void |
public abstract AppendTo ( BinaryContent content, int start, int count ) : void | ||
content | BinaryContent | |
start | int | |
count | int | |
return | void |
public abstract AppendTo ( CharArrayContent content, int start, int count ) : void | ||
content | CharArrayContent | |
start | int | |
count | int | |
return | void |
public abstract AppendTo ( StringContent content, int start, int count ) : void | ||
content | StringContent | |
start | int | |
count | int | |
return | void |
public abstract Concat ( Content content ) : Content | ||
content | Content | |
return | Content |
public abstract ConcatTo ( BinaryContent content ) : Content | ||
content | BinaryContent | |
return | Content |
public abstract ConcatTo ( CharArrayContent content ) : Content | ||
content | CharArrayContent | |
return | Content |
public abstract ConcatTo ( StringContent content ) : Content | ||
content | StringContent | |
return | Content |
public abstract ContainsInvalidCharacters ( ) : bool | ||
return | bool |
protected Content ( MutableString owner ) : System | ||
owner | MutableString | |
return | System |
public abstract EscapeRegularExpression ( ) : Content | ||
return | Content |
public abstract GetBinarySlice ( int start, int count ) : byte[] | ||
start | int | |
count | int | |
return | byte[] |
public abstract GetCharacters ( ) : CharacterEnumerator | ||
return | CharacterEnumerator |
public abstract GetSlice ( int start, int count ) : Content | ||
start | int | |
count | int | |
return | Content |
public abstract GetStringSlice ( int start, int count ) : string | ||
start | int | |
count | int | |
return | string |
public abstract IndexIn ( Content str, int start, int count ) : int | ||
str | Content | |
start | int | |
count | int | |
return | int |
public abstract IndexOf ( byte b, int start, int count ) : int | ||
b | byte | |
start | int | |
count | int | |
return | int |
public abstract IndexOf ( char c, int start, int count ) : int | ||
c | char | |
start | int | |
count | int | |
return | int |
public abstract IndexOf ( string str, int start, int count ) : int | ||
str | string | |
start | int | |
count | int | |
return | int |
public abstract Insert ( int index, byte b ) : void | ||
index | int | |
b | byte | |
return | void |
public abstract Insert ( int index, byte bytes, int start, int count ) : void | ||
index | int | |
bytes | byte | |
start | int | |
count | int | |
return | void |
public abstract Insert ( int index, char c ) : void | ||
index | int | |
c | char | |
return | void |
public abstract Insert ( int index, char chars, int start, int count ) : void | ||
index | int | |
chars | char | |
start | int | |
count | int | |
return | void |
public abstract Insert ( int index, string str, int start, int count ) : void | ||
index | int | |
str | string | |
start | int | |
count | int | |
return | void |
public abstract InsertTo ( Content str, int index, int start, int count ) : void | ||
str | Content | |
index | int | |
start | int | |
count | int | |
return | void |
public abstract LastIndexIn ( Content str, int start, int count ) : int | ||
str | Content | |
start | int | |
count | int | |
return | int |
public abstract LastIndexOf ( byte b, int start, int count ) : int | ||
b | byte | |
start | int | |
count | int | |
return | int |
public abstract LastIndexOf ( char c, int start, int count ) : int | ||
c | char | |
start | int | |
count | int | |
return | int |
public abstract LastIndexOf ( string str, int start, int count ) : int | ||
str | string | |
start | int | |
count | int | |
return | int |
public abstract OrdinalCompareTo ( Content content ) : int | ||
content | Content | |
return | int |
public abstract OrdinalCompareTo ( string str ) : int | ||
str | string | |
return | int |
public abstract Remove ( int start, int count ) : void | ||
start | int | |
count | int | |
return | void |
public abstract ReverseOrdinalCompareTo ( BinaryContent content ) : int | ||
content | BinaryContent | |
return | int |
public abstract ReverseOrdinalCompareTo ( CharArrayContent content ) : int | ||
content | CharArrayContent | |
return | int |
public abstract ReverseOrdinalCompareTo ( StringContent content ) : int | ||
content | StringContent | |
return | int |
public abstract SetByte ( int index, byte b ) : void | ||
index | int | |
b | byte | |
return | void |
public abstract SetCapacity ( int capacity ) : void | ||
capacity | int | |
return | void |
public abstract SetChar ( int index, char c ) : void | ||
index | int | |
c | char | |
return | void |
public abstract SwitchToBinaryContent ( ) : Content | ||
return | Content |
public abstract SwitchToMutableContent ( ) : Content | ||
return | Content |
public abstract SwitchToStringContent ( ) : Content | ||
return | Content |
public abstract UpdateCharacterFlags ( uint flags ) : uint | ||
flags | uint | |
return | uint |
protected WrapContent ( byte bytes, int count ) : BinaryContent | ||
bytes | byte | |
count | int | |
return | BinaryContent |
protected WrapContent ( char chars, int count ) : CharArrayContent | ||
chars | char | |
count | int | |
return | CharArrayContent |
public abstract Write ( int offset, byte value, int repeatCount ) : void | ||
offset | int | |
value | byte | |
repeatCount | int | |
return | void |
public abstract Write ( int offset, byte value, int start, int count ) : void | ||
offset | int | |
value | byte | |
start | int | |
count | int | |
return | void |