C# Class Poonya.Utils.ByteArray

Mostrar archivo Open project: sunag/sea3d Class Usage Examples

Public Methods

Method Description
ByteArray ( ) : System
ByteArray ( MemoryStream memoryStream ) : System
ByteArray ( byte bytes ) : System
GetCrc32 ( ) : uint
ReadBytes ( int length ) : byte[]
ReadDataObject ( ) : ByteArray
ReadDouble ( ) : double
ReadFile ( string filePath ) : void
ReadFloat ( ) : float
ReadInteger ( ) : int
ReadUByte ( ) : int
ReadUInt16 ( ) : int
ReadUInt24 ( ) : int
ReadUInt32 ( ) : uint
ReadUInteger ( ) : int
ReadUTF16 ( ) : string
ReadUTF32 ( ) : string
ReadUTF8 ( ) : string
ReadUTFBytes ( uint length ) : string
ToArray ( ) : byte[]
WriteBoolean ( bool value ) : void
WriteByte ( int value ) : void
WriteBytes ( byte buffer ) : void
WriteBytes ( byte buffer, int offset, int length ) : void
WriteBytesObject ( byte buffer ) : void
WriteData ( ByteArray data ) : void
WriteDataObject ( ByteArray data ) : void
WriteDouble ( double value ) : void
WriteFloat ( float value ) : void
WriteFloats ( float buffer ) : void
WriteInt16 ( short value ) : void
WriteInt32 ( int value ) : void
WriteInteger ( int value ) : void
WriteNull ( ) : void
WriteTypeCode ( string value ) : void
WriteUInt16 ( int value ) : void
WriteUInt24 ( int value ) : void
WriteUInt32 ( uint value ) : void
WriteUInteger ( int value ) : void
WriteUTF16 ( string value ) : void
WriteUTF32 ( string value ) : void
WriteUTF8 ( string value ) : void
WriteUTFBytes ( string value ) : void

Method Details

ByteArray() public method

public ByteArray ( ) : System
return System

ByteArray() public method

public ByteArray ( MemoryStream memoryStream ) : System
memoryStream System.IO.MemoryStream
return System

ByteArray() public method

public ByteArray ( byte bytes ) : System
bytes byte
return System

GetCrc32() public method

public GetCrc32 ( ) : uint
return uint

ReadBytes() public method

public ReadBytes ( int length ) : byte[]
length int
return byte[]

ReadDataObject() public method

public ReadDataObject ( ) : ByteArray
return ByteArray

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadFile() public method

public ReadFile ( string filePath ) : void
filePath string
return void

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadInteger() public method

public ReadInteger ( ) : int
return int

ReadUByte() public method

public ReadUByte ( ) : int
return int

ReadUInt16() public method

public ReadUInt16 ( ) : int
return int

ReadUInt24() public method

public ReadUInt24 ( ) : int
return int

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadUInteger() public method

public ReadUInteger ( ) : int
return int

ReadUTF16() public method

public ReadUTF16 ( ) : string
return string

ReadUTF32() public method

public ReadUTF32 ( ) : string
return string

ReadUTF8() public method

public ReadUTF8 ( ) : string
return string

ReadUTFBytes() public method

public ReadUTFBytes ( uint length ) : string
length uint
return string

ToArray() public method

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

WriteBoolean() public method

public WriteBoolean ( bool value ) : void
value bool
return void

WriteByte() public method

public WriteByte ( int value ) : void
value int
return void

WriteBytes() public method

public WriteBytes ( byte buffer ) : void
buffer byte
return void

WriteBytes() public method

public WriteBytes ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void

WriteBytesObject() public method

public WriteBytesObject ( byte buffer ) : void
buffer byte
return void

WriteData() public method

public WriteData ( ByteArray data ) : void
data ByteArray
return void

WriteDataObject() public method

public WriteDataObject ( ByteArray data ) : void
data ByteArray
return void

WriteDouble() public method

public WriteDouble ( double value ) : void
value double
return void

WriteFloat() public method

public WriteFloat ( float value ) : void
value float
return void

WriteFloats() public method

public WriteFloats ( float buffer ) : void
buffer float
return void

WriteInt16() public method

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

WriteInt32() public method

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

WriteInteger() public method

public WriteInteger ( int value ) : void
value int
return void

WriteNull() public method

public WriteNull ( ) : void
return void

WriteTypeCode() public method

public WriteTypeCode ( string value ) : void
value string
return void

WriteUInt16() public method

public WriteUInt16 ( int value ) : void
value int
return void

WriteUInt24() public method

public WriteUInt24 ( int value ) : void
value int
return void

WriteUInt32() public method

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

WriteUInteger() public method

public WriteUInteger ( int value ) : void
value int
return void

WriteUTF16() public method

public WriteUTF16 ( string value ) : void
value string
return void

WriteUTF32() public method

public WriteUTF32 ( string value ) : void
value string
return void

WriteUTF8() public method

public WriteUTF8 ( string value ) : void
value string
return void

WriteUTFBytes() public method

public WriteUTFBytes ( string value ) : void
value string
return void