메소드 |
설명 |
|
CalculateCrc ( byte b, int off, int len ) : uint |
|
|
GetEightBytes ( byte source, int index ) : ulong |
> Reads 8 bytes from memory into a uint. Does not take host enianness into account. |
|
GetFourBytes ( byte source, int index ) : uint |
> Reads 4 bytes from memory into a uint. Does not take host enianness into account. |
|
Log2Floor ( uint x ) : uint |
|
|
NativeIntPtrSize ( ) : int |
|
|
NumberOfLeadingZeros ( uint x ) : uint |
|
|
NumberOfOnes ( uint x ) : uint |
|
|
NumberOfTrailingZeros ( uint x ) : uint |
|
|
NumberOfTrailingZeros ( ulong c ) : uint |
|
|
UnalignedCopy64 ( byte source, int sourceIndex, byte dest, int destIndex ) : void |
Copies 64 bits (8 bytes) from source array starting at sourceIndex into dest array starting at destIndex. The name comes from the original Snappy C++ source. I don't think there is a good way to look at things in an aligned manner in the .NET Framework. |
|