Commit Graph

24 Commits

Author SHA1 Message Date
morkt
1013fa059e added some comments. 2017-01-17 18:18:11 +04:00
morkt
762396d045 (LittleEndian): methods made generic. 2016-10-16 16:13:57 +04:00
morkt
bb18303eb4 IBinaryStream migration. 2016-10-16 09:22:53 +04:00
morkt
a4311a0f2a (Binary.BigEndian): simplified. 2016-10-03 23:23:43 +04:00
morkt
6c7ddb3f2a (Binary.GetCString): added convenient overload. 2016-09-13 03:04:37 +04:00
morkt
3711e28d79 moved checksum classes to separate file. 2016-04-24 22:06:50 +04:00
morkt
410d40313e (Binary.Rotate): added ulong methods.
(Crc32.UpdateCrc): method made public.
2016-01-15 11:50:13 +04:00
morkt
aeea84a693 (CopyOverlapped): slightly optimized BlockCopy loop. 2015-12-05 20:26:36 +04:00
morkt
6d6b81c88f (Binary): added RotByteR and RotByteL methods. 2015-12-03 15:51:06 +04:00
morkt
1ee96fc3e9 (Binary): added RotR and RotL methods. 2015-12-01 11:24:48 +04:00
morkt
bbadd583df (BigEndian): added ToUInt16 and ToInt16 methods. 2015-11-17 21:30:46 +04:00
morkt
142f7e1cdf (Crc32.Table): public property. 2015-08-12 01:29:00 +04:00
morkt
7853d6a462 (Binary.CopyOverlapped): use Buffer.BlockCopy when destination precedes source. 2015-07-19 15:29:00 +04:00
morkt
54ae9e191e (IDataUnpacker): new interface. 2015-06-01 00:51:02 +04:00
morkt
03e280c045 added AsciiString class.
wrapper around byte array.
2015-05-29 14:51:28 +04:00
morkt
f5d2cac377 (Binary.GetCString): new static method. 2015-04-16 22:39:57 +04:00
morkt
9b4aa48e37 utility classes updated.
(BigEndian): read bigendian-packed integer packed into byte array.
(LittleEndian): added Pack methods.
2015-04-14 10:30:23 +04:00
morkt
2a7520939d use Buffer.BlockCopy instead of Array.Copy. 2014-11-07 17:11:11 +04:00
morkt
b0f621e8ab CopyOverlapped function defined in GameRes.Utitlity now.
CopyOverlapped copies ranges within array the same way standard C
function memcpy does (that is, ignoring potential region overlapping).
2014-08-25 15:04:26 +04:00
morkt
26526a97bb added ICheckSum interface and CheckedStream class.
Crc32 and Adler32 classes now implement ICheckSum interface.
2014-08-16 04:23:12 +04:00
morkt
9922955323 added license clause and third-party copyright notices. 2014-07-28 00:50:18 +04:00
morkt
2446927e83 (Adler32): use "unsafe" implementation. added appropriate methods. 2014-07-26 23:20:08 +04:00
morkt
53d0267eca (LittleEndian): added 64-bit integer readers. 2014-07-25 00:52:24 +04:00
Poddav
e208029dd3 Initial commit. 2014-07-21 23:26:28 +04:00