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