UnsafeBytes returns the raw bytes avoiding allocation. It is "unsafe" because the contract is that callers must not to mutate the bytes but there is nothing stopping that from happening.
()
| 1711 | // the contract is that callers must not to mutate the bytes but there is |
| 1712 | // nothing stopping that from happening. |
| 1713 | func (d *DEncodedKey) UnsafeBytes() []byte { |
| 1714 | return encoding.UnsafeConvertStringToBytes(string(*d)) |
| 1715 | } |
| 1716 | |
| 1717 | // DUuid is the UUID Datum. |
| 1718 | type DUuid struct { |
nothing calls this directly
no test coverage detected