C# Class FETextEditor.TextFormatter.GBATextEncoding

Inheritance: System.Text.Encoding
显示文件 Open project: Diegoisawesome/AwesomeMapEditor-old

Public Methods

Method Description
GBATextEncoding ( ) : System
GetByteCount ( char chars, int index, int count ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int
GetString ( byte bytes, int index, int count ) : string

Private Methods

Method Description
Get2PartCode ( string code, short first ) : byte[]
GetControlCodeBytes ( char chars, int index, int length ) : byte[]
GetText ( BinaryReader input, TextWriter output ) : void
Iterate ( char chars, int index, int count, Action addCode ) : void

Method Details

GBATextEncoding() public method

public GBATextEncoding ( ) : System
return System

GetByteCount() public method

public GetByteCount ( char chars, int index, int count ) : int
chars char
index int
count int
return int

GetBytes() public method

public GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
return int

GetCharCount() public method

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
return int

GetChars() public method

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
return int

GetMaxByteCount() public method

public GetMaxByteCount ( int charCount ) : int
charCount int
return int

GetMaxCharCount() public method

public GetMaxCharCount ( int byteCount ) : int
byteCount int
return int

GetString() public method

public GetString ( byte bytes, int index, int count ) : string
bytes byte
index int
count int
return string