1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-26 09:05:24 +00:00
OpenDiablo2/d2common/d2datautils
gravestench 248eaf9d79 Minor refactor of d2cof
* Changed `Load` to `Unmarshal`
* made `Marshal` and `Unmarshal` into methods of `COF`
* added `New` function which creates a new, empty COF instance
* added helper functions `Marshal` and `Unmarshal`
* Changed `StreamReader.ReadBytes` to account for edge case of reading 0
bytes (this was returning an error when it should not have)
* added really simple unit tests for COF
2021-02-05 14:43:42 -08:00
..
bitmuncher.go organize d2common pakage (#716) 2020-09-08 15:58:35 -04:00
bitstream_test.go organize d2common pakage (#716) 2020-09-08 15:58:35 -04:00
bitstream.go lintfix: gomnd 2021-02-02 12:02:11 +01:00
doc.go Lint error cleanup1 (#779) 2020-10-22 01:12:06 -04:00
stream_reader_test.go d2datautil.StreamReader refactor 2021-01-12 10:26:27 -08:00
stream_reader.go Minor refactor of d2cof 2021-02-05 14:43:42 -08:00
stream_writer_test.go lintfix: gomnd 2021-02-02 12:02:11 +01:00
stream_writer.go removed PushByte method from StreamWriter 2021-02-01 11:20:44 +01:00