(self)
| 1397 | return bufptr.bytes_literal() |
| 1398 | |
| 1399 | def to_string(self): |
| 1400 | if not self.is_valid: |
| 1401 | return self._format_null() |
| 1402 | bufptr = BufferPtr(SharedPtr(self.val['value']).get()) |
| 1403 | size = bufptr.size |
| 1404 | if size is None: |
| 1405 | return f"{self._format_type()} of value <unallocated>" |
| 1406 | return (f"{self._format_type()} of size {size}, " |
| 1407 | f"value {self._format_buf(bufptr)}") |
| 1408 | |
| 1409 | |
| 1410 | class FixedSizeBinaryScalarPrinter(BaseBinaryScalarPrinter): |
nothing calls this directly
no test coverage detected