|
@@ -37,10 +37,6 @@ func (m *Message) HasFlag(x uint32) bool {
|
|
return m.bitmap().Contains(x)
|
|
return m.bitmap().Contains(x)
|
|
}
|
|
}
|
|
|
|
|
|
-func (m *Message) FlagBytes() []byte {
|
|
|
|
- return m.bitmap().ToBytes()
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
func (m *Message) SetBitmap(flags bitmap.Bitmap) {
|
|
func (m *Message) SetBitmap(flags bitmap.Bitmap) {
|
|
m.Flags = flags.ToBytes()
|
|
m.Flags = flags.ToBytes()
|
|
}
|
|
}
|