C# Class UpkManager.Domain.Helpers.ByteArrayWriter

Show file Open project: stricq/UPKManager Class Usage Examples

Public Methods

Method Description
CreateNew ( int Length ) : ByteArrayWriter
GetBytes ( ) : byte[]
Initialize ( byte Data, int Index ) : void
Seek ( int Offset ) : void
WriteByte ( byte Value ) : void
WriteBytes ( byte Bytes ) : System.Threading.Tasks.Task
WriteInt16 ( short Value ) : void
WriteInt32 ( int Value ) : void
WriteInt64 ( long Value ) : void
WriteSingle ( float Value ) : void
WriteUInt16 ( ushort Value ) : void
WriteUInt32 ( uint Value ) : void
WriteUInt64 ( ulong Value ) : void

Method Details

CreateNew() public static method

public static CreateNew ( int Length ) : ByteArrayWriter
Length int
return ByteArrayWriter

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

Initialize() public method

public Initialize ( byte Data, int Index ) : void
Data byte
Index int
return void

Seek() public method

public Seek ( int Offset ) : void
Offset int
return void

WriteByte() public method

public WriteByte ( byte Value ) : void
Value byte
return void

WriteBytes() public method

public WriteBytes ( byte Bytes ) : System.Threading.Tasks.Task
Bytes byte
return System.Threading.Tasks.Task

WriteInt16() public method

public WriteInt16 ( short Value ) : void
Value short
return void

WriteInt32() public method

public WriteInt32 ( int Value ) : void
Value int
return void

WriteInt64() public method

public WriteInt64 ( long Value ) : void
Value long
return void

WriteSingle() public method

public WriteSingle ( float Value ) : void
Value float
return void

WriteUInt16() public method

public WriteUInt16 ( ushort Value ) : void
Value ushort
return void

WriteUInt32() public method

public WriteUInt32 ( uint Value ) : void
Value uint
return void

WriteUInt64() public method

public WriteUInt64 ( ulong Value ) : void
Value ulong
return void