diff dcrypt/misc/Checksum.d @ 30:21847420b1ac

Changed Hash's update method to a more optimized variant. Changed the code style for the entire misc package (completely forgot about it). Further changes for D2 compatibility. It appears as if full compatibility won't be possibledue to D2's handling of void[], but the number of changes to obtain compatibility can be minimized in the least.
author Thomas Dixon <reikon@reikon.us>
date Mon, 11 May 2009 15:32:00 -0400
parents ad687db713a4
children 2b4bccdc8387
line wrap: on
line diff
--- a/dcrypt/misc/Checksum.d	Mon May 11 01:39:19 2009 -0400
+++ b/dcrypt/misc/Checksum.d	Mon May 11 15:32:00 2009 -0400
@@ -9,7 +9,8 @@
 module dcrypt.misc.Checksum;
 
 /** Base class for 32-bit checksums */
-abstract class Checksum {
+abstract class Checksum
+{
     /**
      * Compute a checksum.
      * 
@@ -23,4 +24,4 @@
     
     /** Returns: The name of the checksum algorithm. */
     string name();
-}
\ No newline at end of file
+}