1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-02 17:27:23 -04:00
OpenDiablo2/d2common/d2interface/bitstream.go
dk 691368cba7
Decouple bitmuncher (#495)
* adding comments to d2interface for linter

* moved d2render renderer interfaces and types into d2interface

* fixed most lint errors for monstats loader

* decouple bitmuncher to interface
2020-06-29 20:21:09 -04:00

9 lines
150 B
Go

package d2interface
type BitStream interface {
ReadBits(bitCount int) int
PeekByte() int
EnsureBits(bitCount int) bool
WasteBits(bitCount int)
}