(self)
| 1414 | return bufptr.bytes_literal() |
| 1415 | |
| 1416 | def to_string(self): |
| 1417 | if not self.is_valid: |
| 1418 | return self._format_null() |
| 1419 | bufptr = BufferPtr(SharedPtr(self.val['value']).get()) |
| 1420 | size = bufptr.size |
| 1421 | if size is None: |
| 1422 | return f"{self._format_type()} of value <unallocated>" |
| 1423 | return (f"{self._format_type()} of size {size}, " |
| 1424 | f"value {self._format_buf(bufptr)}") |
| 1425 | |
| 1426 | |
| 1427 | class FixedSizeBinaryScalarPrinter(BaseBinaryScalarPrinter): |
nothing calls this directly
no test coverage detected