private ProcessBlock ( byte buffer, int offset ) : void | ||
buffer | byte | The buffer with the data. |
offset | int | The offset in the buffer. |
리턴 | void |
private void ProcessBlock (byte[] buffer, int offset)
{
if (!BitConverter.IsLittleEndian) {
for (int i=0; i < _X.Length; i++) {
_X [i] = (uint)(buffer [offset])
| (((uint)(buffer [offset+1])) << 8)
| (((uint)(buffer [offset+2])) << 16)
| (((uint)(buffer [offset+3])) << 24);
offset += 4;
}
} else {
Buffer.BlockCopy (buffer, offset, _X, 0, 64);
}
Compress();
}