C# Класс Wxv.Swg.Common.ByteArrayExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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[]