Create a null bitmap from a Buffer (or None if missing, in which case all values are True).
(cls, buf, offset, length)
| 810 | |
| 811 | @classmethod |
| 812 | def from_buffer(cls, buf, offset, length): |
| 813 | """ |
| 814 | Create a null bitmap from a Buffer (or None if missing, |
| 815 | in which case all values are True). |
| 816 | """ |
| 817 | if buf is None: |
| 818 | return cls(buf, offset, length) |
| 819 | return super().from_buffer(buf, offset, length) |
| 820 | |
| 821 | |
| 822 | KeyValue = namedtuple('KeyValue', ('key', 'value')) |
nothing calls this directly
no test coverage detected