Closed kelindar closed 2 years ago
Add checks to FromBytes() and ToBytes() methods when the input is nil. FromBytes() will now panic if the input buffer provided is not a multiple of 8. Fixes https://github.com/kelindar/bitmap/issues/20
FromBytes()
ToBytes()
Add checks to
FromBytes()
andToBytes()
methods when the input is nil.FromBytes()
will now panic if the input buffer provided is not a multiple of 8. Fixes https://github.com/kelindar/bitmap/issues/20