mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-02 17:27:23 -04:00
691368cba7
* 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
9 lines
150 B
Go
9 lines
150 B
Go
package d2interface
|
|
|
|
type BitStream interface {
|
|
ReadBits(bitCount int) int
|
|
PeekByte() int
|
|
EnsureBits(bitCount int) bool
|
|
WasteBits(bitCount int)
|
|
}
|