C# Class IronRuby.Builtins.MutableString.BinaryContent

Inheritance: Content
Mostra file Open project: jschementi/iron

Protected Properties

Property Type Description
_count int
_data byte[]

Public Methods

Method Description
Append ( Content content, int start, int count ) : void
Append ( 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
GetByteCount ( ) : int
GetBytes ( ) : IEnumerable
GetCapacity ( ) : int
GetChar ( int index ) : char
GetCharCount ( ) : int
GetCharacterCount ( ) : int
GetCharacters ( ) : CharacterEnumerator
GetSlice ( int start, int count ) : Content
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[]
ToString ( ) : string
TrimExcess ( ) : void
UpdateCharacterFlags ( uint flags ) : uint
Write ( int offset, byte value, int repeatCount ) : void
Write ( int offset, byte value, int start, int count ) : void

Protected Methods

Method Description
Create ( byte data, MutableString owner ) : BinaryContent

Private Methods

Method Description
AppendBytes ( char chars, int start, int count ) : void
AppendBytes ( string str, int start, int count ) : void
BinaryContent ( byte data, MutableString owner ) : System
BinaryContent ( byte data, int count, MutableString owner ) : System
Concatenate ( CharArrayContent content ) : BinaryContent
Concatenate ( StringContent content ) : BinaryContent
DataToChars ( int additionalCapacity, Encoding encoding ) : char[]
DataToString ( ) : string
Decode ( char &chars, List &invalidCharacters ) : void
GetByteArray ( int &count ) : byte[]
OrdinalCompareTo ( byte bytes, int count ) : int
SwitchToChars ( ) : CharArrayContent
SwitchToChars ( int additionalCapacity ) : CharArrayContent

Method Details

Append() public method

public Append ( Content content, int start, int count ) : void
content Content
start int
count int
return void

Append() public method

public Append ( Stream stream, int count ) : void
stream Stream
count int
return void

Append() public method

public Append ( byte b, int repeatCount ) : void
b byte
repeatCount int
return void

Append() public method

public Append ( byte bytes, int start, int count ) : void
bytes byte
start int
count int
return void

Append() public method

public Append ( char c, int repeatCount ) : void
c char
repeatCount int
return void

Append() public method

public Append ( char chars, int start, int count ) : void
chars char
start int
count int
return void

Append() public method

public Append ( string str, int start, int count ) : void
str string
start int
count int
return void

AppendFormat() public method

public AppendFormat ( IFormatProvider provider, string format, object args ) : void
provider IFormatProvider
format string
args object
return void

AppendTo() public method

public AppendTo ( BinaryContent content, int start, int count ) : void
content BinaryContent
start int
count int
return void

AppendTo() public method

public AppendTo ( CharArrayContent content, int start, int count ) : void
content CharArrayContent
start int
count int
return void

AppendTo() public method

public AppendTo ( StringContent content, int start, int count ) : void
content StringContent
start int
count int
return void

CalculateHashCode() public method

public CalculateHashCode ( ) : int
return int

CheckEncoding() public method

public CheckEncoding ( ) : void
return void

Clone() public method

public Clone ( ) : Content
return Content

Concat() public method

public Concat ( Content content ) : Content
content Content
return Content

ConcatTo() public method

public ConcatTo ( BinaryContent content ) : Content
content BinaryContent
return Content

ConcatTo() public method

public ConcatTo ( CharArrayContent content ) : Content
content CharArrayContent
return Content

ConcatTo() public method

public ConcatTo ( StringContent content ) : Content
content StringContent
return Content

ContainsInvalidCharacters() public method

public ContainsInvalidCharacters ( ) : bool
return bool

ConvertToBytes() public method

public ConvertToBytes ( ) : byte[]
return byte[]

ConvertToString() public method

public ConvertToString ( ) : string
return string

Create() protected method

protected Create ( byte data, MutableString owner ) : BinaryContent
data byte
owner MutableString
return BinaryContent

EscapeRegularExpression() public method

public EscapeRegularExpression ( ) : Content
return Content

GetBinarySlice() public method

public GetBinarySlice ( int start, int count ) : byte[]
start int
count int
return byte[]

GetByte() public method

public GetByte ( int index ) : byte
index int
return byte

GetByteCount() public method

public GetByteCount ( ) : int
return int

GetBytes() public method

public GetBytes ( ) : IEnumerable
return IEnumerable

GetCapacity() public method

public GetCapacity ( ) : int
return int

GetChar() public method

public GetChar ( int index ) : char
index int
return char

GetCharCount() public method

public GetCharCount ( ) : int
return int

GetCharacterCount() public method

public GetCharacterCount ( ) : int
return int

GetCharacters() public method

public GetCharacters ( ) : CharacterEnumerator
return CharacterEnumerator

GetSlice() public method

public GetSlice ( int start, int count ) : Content
start int
count int
return Content

GetStringSlice() public method

public GetStringSlice ( int start, int count ) : string
start int
count int
return string

IndexIn() public method

public IndexIn ( Content str, int start, int count ) : int
str Content
start int
count int
return int

IndexOf() public method

public IndexOf ( byte b, int start, int count ) : int
b byte
start int
count int
return int

IndexOf() public method

public IndexOf ( char c, int start, int count ) : int
c char
start int
count int
return int

IndexOf() public method

public IndexOf ( string str, int start, int count ) : int
str string
start int
count int
return int

Insert() public method

public Insert ( int index, byte b ) : void
index int
b byte
return void

Insert() public method

public Insert ( int index, byte bytes, int start, int count ) : void
index int
bytes byte
start int
count int
return void

Insert() public method

public Insert ( int index, char c ) : void
index int
c char
return void

Insert() public method

public Insert ( int index, char chars, int start, int count ) : void
index int
chars char
start int
count int
return void

Insert() public method

public Insert ( int index, string str, int start, int count ) : void
index int
str string
start int
count int
return void

InsertTo() public method

public InsertTo ( Content str, int index, int start, int count ) : void
str Content
index int
start int
count int
return void

LastIndexIn() public method

public LastIndexIn ( Content str, int start, int count ) : int
str Content
start int
count int
return int

LastIndexOf() public method

public LastIndexOf ( byte b, int start, int count ) : int
b byte
start int
count int
return int

LastIndexOf() public method

public LastIndexOf ( char c, int start, int count ) : int
c char
start int
count int
return int

LastIndexOf() public method

public LastIndexOf ( string str, int start, int count ) : int
str string
start int
count int
return int

OrdinalCompareTo() public method

public OrdinalCompareTo ( Content content ) : int
content Content
return int

OrdinalCompareTo() public method

public OrdinalCompareTo ( string str ) : int
str string
return int

Remove() public method

public Remove ( int start, int count ) : void
start int
count int
return void

ReverseOrdinalCompareTo() public method

public ReverseOrdinalCompareTo ( BinaryContent content ) : int
content BinaryContent
return int

ReverseOrdinalCompareTo() public method

public ReverseOrdinalCompareTo ( CharArrayContent content ) : int
content CharArrayContent
return int

ReverseOrdinalCompareTo() public method

public ReverseOrdinalCompareTo ( StringContent content ) : int
content StringContent
return int

SetByte() public method

public SetByte ( int index, byte b ) : void
index int
b byte
return void

SetCapacity() public method

public SetCapacity ( int capacity ) : void
capacity int
return void

SetChar() public method

public SetChar ( int index, char c ) : void
index int
c char
return void

StartsWith() public method

public StartsWith ( char c ) : bool
c char
return bool

SwitchToBinaryContent() public method

public SwitchToBinaryContent ( ) : Content
return Content

SwitchToMutableContent() public method

public SwitchToMutableContent ( ) : Content
return Content

SwitchToStringContent() public method

public SwitchToStringContent ( ) : Content
return Content

ToByteArray() public method

public ToByteArray ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string

TrimExcess() public method

public TrimExcess ( ) : void
return void

UpdateCharacterFlags() public method

public UpdateCharacterFlags ( uint flags ) : uint
flags uint
return uint

Write() public method

public Write ( int offset, byte value, int repeatCount ) : void
offset int
value byte
repeatCount int
return void

Write() public method

public Write ( int offset, byte value, int start, int count ) : void
offset int
value byte
start int
count int
return void

Property Details

_count protected_oe property

protected int _count
return int

_data protected_oe property

protected byte[] _data
return byte[]