def Utf8.encode

mylsm-lsm-store@0.6.0.1 · mylsm.bend:1907

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

1907def Utf8.encode(+text: String) -> Result<&1, &1, Utf8.Error, PackedBytes.Bytes>:
1908  Utf8.encode.result(Utf8Codec.from_string(text))

Uses (6)

Used by (7)