C# 클래스 Wxv.Swg.Common.ByteArrayExtensions

파일 보기 프로젝트 열기: wverkley/Swg.Explorer

공개 메소드들

메소드 설명
IsText ( this data ) : System.Boolean
ReadBytes ( this data, int count, int startIndex ) : byte[]
ReadInt16 ( this data, int startIndex ) : Int16
ReadInt32 ( this data, int startIndex ) : Int32
ReadInt32BE ( this data, int startIndex ) : int
ReadSingle ( this data, int startIndex ) : System.Single
ReadSingleBE ( this data, int startIndex ) : System.Single
ReadString ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string
ReadStringList ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string[]

비공개 메소드들

메소드 설명
ReadStringInternal ( this data, int &startIndex, Encoding encoding, bool trim ) : string

메소드 상세

IsText() 공개 정적인 메소드

public static IsText ( this data ) : System.Boolean
data this
리턴 System.Boolean

ReadBytes() 공개 정적인 메소드

public static ReadBytes ( this data, int count, int startIndex ) : byte[]
data this
count int
startIndex int
리턴 byte[]

ReadInt16() 공개 정적인 메소드

public static ReadInt16 ( this data, int startIndex ) : Int16
data this
startIndex int
리턴 System.Int16

ReadInt32() 공개 정적인 메소드

public static ReadInt32 ( this data, int startIndex ) : Int32
data this
startIndex int
리턴 System.Int32

ReadInt32BE() 공개 정적인 메소드

public static ReadInt32BE ( this data, int startIndex ) : int
data this
startIndex int
리턴 int

ReadSingle() 공개 정적인 메소드

public static ReadSingle ( this data, int startIndex ) : System.Single
data this
startIndex int
리턴 System.Single

ReadSingleBE() 공개 정적인 메소드

public static ReadSingleBE ( this data, int startIndex ) : System.Single
data this
startIndex int
리턴 System.Single

ReadString() 공개 정적인 메소드

public static ReadString ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string
data this
startIndex int
encoding System.Text.Encoding
trim bool
리턴 string

ReadStringList() 공개 정적인 메소드

public static ReadStringList ( this data, int startIndex, Encoding encoding = null, bool trim = true ) : string[]
data this
startIndex int
encoding System.Text.Encoding
trim bool
리턴 string[]