C# Class HaloShare.VariantLib.LibStream

Afficher le fichier Open project: ElDewrito/HaloShare Class Usage Examples

Méthodes publiques

Méthode Description
LibStream ( Stream stream ) : System
ReadBytes ( long offset, int count ) : byte[]
ReadInt16 ( long offset ) : Int16
ReadInt32 ( long offset ) : Int32
ReadInt64 ( long offset ) : System.Int64
ReadString ( long offset, int length ) : string
ReadUnicodeString ( long offset, int length ) : string
Seek ( long offset ) : void
Write ( long offset, Int16 value ) : void
Write ( long offset, Int32 value ) : void
Write ( long offset, System.Int64 value ) : void
Write ( long offset, byte buffer ) : void
Write ( long offset, string value, int length, Encoding encoding ) : void

Method Details

LibStream() public méthode

public LibStream ( Stream stream ) : System
stream Stream
Résultat System

ReadBytes() public méthode

public ReadBytes ( long offset, int count ) : byte[]
offset long
count int
Résultat byte[]

ReadInt16() public méthode

public ReadInt16 ( long offset ) : Int16
offset long
Résultat System.Int16

ReadInt32() public méthode

public ReadInt32 ( long offset ) : Int32
offset long
Résultat System.Int32

ReadInt64() public méthode

public ReadInt64 ( long offset ) : System.Int64
offset long
Résultat System.Int64

ReadString() public méthode

public ReadString ( long offset, int length ) : string
offset long
length int
Résultat string

ReadUnicodeString() public méthode

public ReadUnicodeString ( long offset, int length ) : string
offset long
length int
Résultat string

Seek() public méthode

public Seek ( long offset ) : void
offset long
Résultat void

Write() public méthode

public Write ( long offset, Int16 value ) : void
offset long
value System.Int16
Résultat void

Write() public méthode

public Write ( long offset, Int32 value ) : void
offset long
value System.Int32
Résultat void

Write() public méthode

public Write ( long offset, System.Int64 value ) : void
offset long
value System.Int64
Résultat void

Write() public méthode

public Write ( long offset, byte buffer ) : void
offset long
buffer byte
Résultat void

Write() public méthode

public Write ( long offset, string value, int length, Encoding encoding ) : void
offset long
value string
length int
encoding System.Text.Encoding
Résultat void