C# Class HaloShare.VariantLib.LibStream

Exibir arquivo Open project: ElDewrito/HaloShare Class Usage Examples

Public Methods

Method 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 method

public LibStream ( Stream stream ) : System
stream Stream
return System

ReadBytes() public method

public ReadBytes ( long offset, int count ) : byte[]
offset long
count int
return byte[]

ReadInt16() public method

public ReadInt16 ( long offset ) : Int16
offset long
return System.Int16

ReadInt32() public method

public ReadInt32 ( long offset ) : Int32
offset long
return System.Int32

ReadInt64() public method

public ReadInt64 ( long offset ) : System.Int64
offset long
return System.Int64

ReadString() public method

public ReadString ( long offset, int length ) : string
offset long
length int
return string

ReadUnicodeString() public method

public ReadUnicodeString ( long offset, int length ) : string
offset long
length int
return string

Seek() public method

public Seek ( long offset ) : void
offset long
return void

Write() public method

public Write ( long offset, Int16 value ) : void
offset long
value System.Int16
return void

Write() public method

public Write ( long offset, Int32 value ) : void
offset long
value System.Int32
return void

Write() public method

public Write ( long offset, System.Int64 value ) : void
offset long
value System.Int64
return void

Write() public method

public Write ( long offset, byte buffer ) : void
offset long
buffer byte
return void

Write() public method

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