コード例 #1
0
ファイル: MD4.cs プロジェクト: optimus-code/Quake2Sharp
 /**
  *    This constructor is here to implement cloneability of this class.
  */
 private MD4(MD4 md)
     : this()
 {
     this.context = (int[])md.context.Clone();
     this.buffer  = (byte[])md.buffer.Clone();
     this.count   = md.count;
 }
コード例 #2
0
ファイル: Com.cs プロジェクト: optimus-code/Quake2Sharp
 public static int BlockChecksum(byte[] buf, int length)
 {
     return(MD4.Com_BlockChecksum(buf, length));
 }