C# Class WhatForensics.BigEndianBitConverter

Datei anzeigen Open project: jglim/WhatForensics

Public Methods

Method Description
ToInt16 ( byte value, int startIndex ) : short
ToInt32 ( byte value, int startIndex ) : int
ToInt64 ( byte value, int startIndex ) : long
ToUInt16 ( byte value, int startIndex ) : ushort
ToUInt32 ( byte value, int startIndex ) : uint

Private Methods

Method Description
ReverseBytes ( byte inArray, int offset, int count ) : byte[]

Method Details

ToInt16() public static method

public static ToInt16 ( byte value, int startIndex ) : short
value byte
startIndex int
return short

ToInt32() public static method

public static ToInt32 ( byte value, int startIndex ) : int
value byte
startIndex int
return int

ToInt64() public static method

public static ToInt64 ( byte value, int startIndex ) : long
value byte
startIndex int
return long

ToUInt16() public static method

public static ToUInt16 ( byte value, int startIndex ) : ushort
value byte
startIndex int
return ushort

ToUInt32() public static method

public static ToUInt32 ( byte value, int startIndex ) : uint
value byte
startIndex int
return uint