fn openBytes
Reverses sealBytes. A failure is a panic.
Example:
use std.topic { sealBytes, openBytes }
fn main() io, db {
let b = sealBytes("Payments", "blob", b"\x07")
print("{openBytes("Payments", "blob", b).len()}")
}Вывод
1
pub(api) fn openBytes(name: str, field: str, v: bytes) -> bytesС версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
name | str |
field | str |
v | bytes |
Возвращает
bytes
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/topic/topic.oxl:829