C# Class Gibbed.Helpers.StreamHelpers

Afficher le fichier Open project: yole/Gibbed.RED

Méthodes publiques

Свойство Type Description
DefaultEncoding Encoding

Méthodes publiques

Méthode Description
ReadString ( this stream, int size, Encoding encoding ) : string
ReadString ( this stream, int size, bool trailingNull, Encoding encoding ) : string
ReadString ( this stream, uint size ) : string
ReadString ( this stream, uint size, Encoding encoding ) : string
ReadString ( this stream, uint size, bool trailingNull ) : string
ReadString ( this stream, uint size, bool trailingNull, Encoding encoding ) : string
ReadStringZ ( this stream ) : string
ReadStringZ ( this stream, Encoding encoding ) : string
ReadToMemoryStream ( this stream, long size ) : MemoryStream
ReadToMemoryStream ( this stream, long size, int buffer ) : MemoryStream
WriteFromStream ( this stream, Stream input, long size ) : void
WriteFromStream ( this stream, Stream input, long size, int buffer ) : void
WriteString ( this stream, string value ) : void
WriteString ( this stream, string value, Encoding encoding ) : void
WriteStringZ ( this stream, string value ) : void
WriteStringZ ( this stream, string value, Encoding encoding ) : void

Private Methods

Méthode Description
ShouldSwap ( bool littleEndian ) : bool

Method Details

ReadString() public static méthode

public static ReadString ( this stream, int size, Encoding encoding ) : string
stream this
size int
encoding Encoding
Résultat string

ReadString() public static méthode

public static ReadString ( this stream, int size, bool trailingNull, Encoding encoding ) : string
stream this
size int
trailingNull bool
encoding Encoding
Résultat string

ReadString() public static méthode

public static ReadString ( this stream, uint size ) : string
stream this
size uint
Résultat string

ReadString() public static méthode

public static ReadString ( this stream, uint size, Encoding encoding ) : string
stream this
size uint
encoding Encoding
Résultat string

ReadString() public static méthode

public static ReadString ( this stream, uint size, bool trailingNull ) : string
stream this
size uint
trailingNull bool
Résultat string

ReadString() public static méthode

public static ReadString ( this stream, uint size, bool trailingNull, Encoding encoding ) : string
stream this
size uint
trailingNull bool
encoding Encoding
Résultat string

ReadStringZ() public static méthode

public static ReadStringZ ( this stream ) : string
stream this
Résultat string

ReadStringZ() public static méthode

public static ReadStringZ ( this stream, Encoding encoding ) : string
stream this
encoding Encoding
Résultat string

ReadToMemoryStream() public static méthode

public static ReadToMemoryStream ( this stream, long size ) : MemoryStream
stream this
size long
Résultat System.IO.MemoryStream

ReadToMemoryStream() public static méthode

public static ReadToMemoryStream ( this stream, long size, int buffer ) : MemoryStream
stream this
size long
buffer int
Résultat System.IO.MemoryStream

WriteFromStream() public static méthode

public static WriteFromStream ( this stream, Stream input, long size ) : void
stream this
input Stream
size long
Résultat void

WriteFromStream() public static méthode

public static WriteFromStream ( this stream, Stream input, long size, int buffer ) : void
stream this
input Stream
size long
buffer int
Résultat void

WriteString() public static méthode

public static WriteString ( this stream, string value ) : void
stream this
value string
Résultat void

WriteString() public static méthode

public static WriteString ( this stream, string value, Encoding encoding ) : void
stream this
value string
encoding Encoding
Résultat void

WriteStringZ() public static méthode

public static WriteStringZ ( this stream, string value ) : void
stream this
value string
Résultat void

WriteStringZ() public static méthode

public static WriteStringZ ( this stream, string value, Encoding encoding ) : void
stream this
value string
encoding Encoding
Résultat void

Property Details

DefaultEncoding public_oe static_oe property

public static Encoding DefaultEncoding
Résultat Encoding