C# Класс OpenRA.StreamExts

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

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

Метод Описание
Peek ( this s ) : int
ReadASCII ( this s, int length ) : string
ReadASCIIZ ( this s ) : string
ReadAllBytes ( this s ) : byte[]
ReadAllLines ( this s ) : IEnumerable
ReadAllText ( this s ) : string
ReadBytes ( this s, int count ) : byte[]
ReadBytes ( this s, byte buffer, int offset, int count ) : void
ReadDouble ( this s ) : double
ReadFloat ( this s ) : float
ReadInt16 ( this s ) : short
ReadInt32 ( this s ) : int
ReadString ( this s, Encoding encoding, int maxLength ) : string
ReadUInt16 ( this s ) : ushort
ReadUInt32 ( this s ) : uint
ReadUInt8 ( this s ) : byte
Write ( this s, byte data ) : void
Write ( this s, int value ) : void
WriteString ( this s, Encoding encoding, string text ) : int

Описание методов

Peek() публичный статический Метод

public static Peek ( this s ) : int
s this
Результат int

ReadASCII() публичный статический Метод

public static ReadASCII ( this s, int length ) : string
s this
length int
Результат string

ReadASCIIZ() публичный статический Метод

public static ReadASCIIZ ( this s ) : string
s this
Результат string

ReadAllBytes() публичный статический Метод

public static ReadAllBytes ( this s ) : byte[]
s this
Результат byte[]

ReadAllLines() публичный статический Метод

public static ReadAllLines ( this s ) : IEnumerable
s this
Результат IEnumerable

ReadAllText() публичный статический Метод

public static ReadAllText ( this s ) : string
s this
Результат string

ReadBytes() публичный статический Метод

public static ReadBytes ( this s, int count ) : byte[]
s this
count int
Результат byte[]

ReadBytes() публичный статический Метод

public static ReadBytes ( this s, byte buffer, int offset, int count ) : void
s this
buffer byte
offset int
count int
Результат void

ReadDouble() публичный статический Метод

public static ReadDouble ( this s ) : double
s this
Результат double

ReadFloat() публичный статический Метод

public static ReadFloat ( this s ) : float
s this
Результат float

ReadInt16() публичный статический Метод

public static ReadInt16 ( this s ) : short
s this
Результат short

ReadInt32() публичный статический Метод

public static ReadInt32 ( this s ) : int
s this
Результат int

ReadString() публичный статический Метод

public static ReadString ( this s, Encoding encoding, int maxLength ) : string
s this
encoding System.Text.Encoding
maxLength int
Результат string

ReadUInt16() публичный статический Метод

public static ReadUInt16 ( this s ) : ushort
s this
Результат ushort

ReadUInt32() публичный статический Метод

public static ReadUInt32 ( this s ) : uint
s this
Результат uint

ReadUInt8() публичный статический Метод

public static ReadUInt8 ( this s ) : byte
s this
Результат byte

Write() публичный статический Метод

public static Write ( this s, byte data ) : void
s this
data byte
Результат void

Write() публичный статический Метод

public static Write ( this s, int value ) : void
s this
value int
Результат void

WriteString() публичный статический Метод

public static WriteString ( this s, Encoding encoding, string text ) : int
s this
encoding System.Text.Encoding
text string
Результат int