def from_string.output

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

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

191def from_string.output(+text: String, +len: U32) -> Bytes.Bytes:
192  from_string.output.pair(Bytes.Cursor.finish(utf8.encode.go(text,
193    Bytes.Cursor.new(Bytes.Bytes{len, Bytes.alloc(len)}))))

Uses (8)

Used by (1)