C# 클래스 SharpOS.Kernel.Foundation.CString8

Represents a C-style (null-terminated) string.
파일 보기 프로젝트 열기: sharpos/SharpOS 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
firstChar byte

공개 메소드들

메소드 설명
Compare ( CString8 str ) : int

Compares the string against str.

Compare ( CString8 str, int count ) : int

Compares count characters of the string against str.

Compare ( CString8 str, int offset, int count ) : int

Compares count characters of the string against str.

Compare ( PString8 str ) : int

Compares the string against str.

Compare ( PString8 str, int count ) : int

Compares count characters of the string against str.

Compare ( PString8 str, int offset, int count ) : int

Compares count characters of the string against str.

Compare ( byte str ) : int

Compares the string against str.

Compare ( byte str, int count ) : int

Compares count characters of the string against str.

Compare ( byte str, int offset, int count ) : int

Compares count characters of the string against str.

Compare ( int from, CString8 str, int offset, int count ) : int

Compares count characters of the string against str.

Compare ( int from, PString8 str, int offset, int count ) : int

Compares count characters of the string against str.

Compare ( int from, byte str, int offset, int count ) : int

Compares count characters of the string against str.

Compare ( int from, string str, int offset, int count ) : int

Compares count characters of the string against str.

Compare ( string str ) : int

Compares the string against str.

Compare ( string str, int count ) : int

Compares count characters of the string against str.

Compare ( string str, int offset, int count ) : int

Compares count characters of the string against str.

Copy ( CString8 original ) : CString8*
Copy ( byte original ) : CString8*
Copy ( string str ) : CString8*
Create ( int capacity ) : CString8*
CreateEmpty ( ) : CString8*
DISPOSE ( CString8 cstr ) : void
GetChar ( int index ) : byte
GetChar ( int index, bool boundsCheck ) : byte

If boundsCheck is true, makes sure index is within bounds, then gets the character at index from the string..

IndexOf ( CString8 substr ) : int
IndexOf ( PString8 substr ) : int
IndexOf ( byte substr ) : int
IndexOf ( int from, CString8 substr ) : int
IndexOf ( int from, CString8 substr, int count ) : int
IndexOf ( int from, CString8 substr, int offset, int count ) : int
IndexOf ( int from, PString8 substr ) : int
IndexOf ( int from, PString8 substr, int count ) : int
IndexOf ( int from, PString8 substr, int offset, int count ) : int
IndexOf ( int from, byte substr ) : int
IndexOf ( int from, byte substr, int count ) : int
IndexOf ( int from, byte substr, int offset, int count ) : int
IndexOf ( int from, string substr ) : int
IndexOf ( int from, string substr, int count ) : int
IndexOf ( int from, string substr, int offset, int count ) : int
IndexOf ( string substr ) : int
SetChar ( int index, byte value ) : void
SetChar ( int index, byte value, bool boundsCheck ) : void
Substring ( int index ) : CString8*
Substring ( int index, int count ) : CString8*
Trim ( ) : CString8*

Generates a new CString8 instance that is identical to this one, minus any leading or trailing whitespace

__Test1 ( ) : void

비공개 메소드들

메소드 설명
IndexOf ( int from, byte substr, int substrLen, int offset, int count ) : int
Substring_INTERNAL ( int index, int count ) : CString8*
__RunTests ( ) : void

메소드 상세

Compare() 공개 메소드

Compares the string against str.
public Compare ( CString8 str ) : int
str CString8
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( CString8 str, int count ) : int
str CString8
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( CString8 str, int offset, int count ) : int
str CString8
offset int
count int
리턴 int

Compare() 공개 메소드

Compares the string against str.
public Compare ( PString8 str ) : int
str PString8
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( PString8 str, int count ) : int
str PString8
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( PString8 str, int offset, int count ) : int
str PString8
offset int
count int
리턴 int

Compare() 공개 메소드

Compares the string against str.
public Compare ( byte str ) : int
str byte
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( byte str, int count ) : int
str byte
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( byte str, int offset, int count ) : int
str byte
offset int
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( int from, CString8 str, int offset, int count ) : int
from int
str CString8
offset int
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( int from, PString8 str, int offset, int count ) : int
from int
str PString8
offset int
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( int from, byte str, int offset, int count ) : int
from int
str byte
offset int
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( int from, string str, int offset, int count ) : int
from int
str string
offset int
count int
리턴 int

Compare() 공개 메소드

Compares the string against str.
public Compare ( string str ) : int
str string
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( string str, int count ) : int
str string
count int
리턴 int

Compare() 공개 메소드

Compares count characters of the string against str.
public Compare ( string str, int offset, int count ) : int
str string
offset int
count int
리턴 int

Copy() 공개 정적인 메소드

public static Copy ( CString8 original ) : CString8*
original CString8
리턴 CString8*

Copy() 공개 정적인 메소드

public static Copy ( byte original ) : CString8*
original byte
리턴 CString8*

Copy() 공개 정적인 메소드

public static Copy ( string str ) : CString8*
str string
리턴 CString8*

Create() 공개 정적인 메소드

public static Create ( int capacity ) : CString8*
capacity int
리턴 CString8*

CreateEmpty() 공개 정적인 메소드

public static CreateEmpty ( ) : CString8*
리턴 CString8*

DISPOSE() 공개 정적인 메소드

public static DISPOSE ( CString8 cstr ) : void
cstr CString8
리턴 void

GetChar() 공개 메소드

public GetChar ( int index ) : byte
index int
리턴 byte

GetChar() 공개 메소드

If boundsCheck is true, makes sure index is within bounds, then gets the character at index from the string..
public GetChar ( int index, bool boundsCheck ) : byte
index int
boundsCheck bool
리턴 byte

IndexOf() 공개 메소드

public IndexOf ( CString8 substr ) : int
substr CString8
리턴 int

IndexOf() 공개 메소드

public IndexOf ( PString8 substr ) : int
substr PString8
리턴 int

IndexOf() 공개 메소드

public IndexOf ( byte substr ) : int
substr byte
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, CString8 substr ) : int
from int
substr CString8
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, CString8 substr, int count ) : int
from int
substr CString8
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, CString8 substr, int offset, int count ) : int
from int
substr CString8
offset int
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, PString8 substr ) : int
from int
substr PString8
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, PString8 substr, int count ) : int
from int
substr PString8
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, PString8 substr, int offset, int count ) : int
from int
substr PString8
offset int
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, byte substr ) : int
from int
substr byte
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, byte substr, int count ) : int
from int
substr byte
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, byte substr, int offset, int count ) : int
from int
substr byte
offset int
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, string substr ) : int
from int
substr string
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, string substr, int count ) : int
from int
substr string
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( int from, string substr, int offset, int count ) : int
from int
substr string
offset int
count int
리턴 int

IndexOf() 공개 메소드

public IndexOf ( string substr ) : int
substr string
리턴 int

SetChar() 공개 메소드

public SetChar ( int index, byte value ) : void
index int
value byte
리턴 void

SetChar() 공개 메소드

public SetChar ( int index, byte value, bool boundsCheck ) : void
index int
value byte
boundsCheck bool
리턴 void

Substring() 공개 메소드

public Substring ( int index ) : CString8*
index int
리턴 CString8*

Substring() 공개 메소드

public Substring ( int index, int count ) : CString8*
index int
count int
리턴 CString8*

Trim() 공개 메소드

Generates a new CString8 instance that is identical to this one, minus any leading or trailing whitespace
public Trim ( ) : CString8*
리턴 CString8*

__Test1() 공개 정적인 메소드

public static __Test1 ( ) : void
리턴 void

프로퍼티 상세

firstChar 공개적으로 프로퍼티

public byte firstChar
리턴 byte