def Utf8.encode
import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsmimport 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))