def to_string_strict

mylsm-lsm-store@0.6.0.1 · src/StorageBytes.bend:212

import mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend as StorageBytes
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

212# Decode a packed buffer, rejecting malformed UTF-8.
213def to_string_strict(bytes: Bytes.Bytes) -> Result<&1, &1, U32 & String, String>:
214  decode_checked(bytes)

Uses (6)

Used by (5)