Method | Description | |
---|---|---|
DateToMacTime ( System.DateTime date ) : uint | ||
MacTimeToDate ( uint time ) : System.DateTime | ||
MaybeSwap ( byte val, bool isbe ) : byte[] | ||
MaybeSwap ( int val, bool isbe ) : int | ||
MaybeSwap ( long val, bool isbe ) : long | ||
MaybeSwap ( short val, bool isbe ) : short | ||
Swap ( byte bytes ) : byte[] | ||
Swap ( int number ) : int | ||
Swap ( long number ) : long | ||
Swap ( short number ) : short |
public static DateToMacTime ( System.DateTime date ) : uint | ||
date | System.DateTime | |
return | uint |
public static MacTimeToDate ( uint time ) : System.DateTime | ||
time | uint | |
return | System.DateTime |
public static MaybeSwap ( byte val, bool isbe ) : byte[] | ||
val | byte | |
isbe | bool | |
return | byte[] |
public static MaybeSwap ( int val, bool isbe ) : int | ||
val | int | |
isbe | bool | |
return | int |
public static MaybeSwap ( long val, bool isbe ) : long | ||
val | long | |
isbe | bool | |
return | long |
public static MaybeSwap ( short val, bool isbe ) : short | ||
val | short | |
isbe | bool | |
return | short |