def encode.names

mylsm-lsm-store@0.6.0.1 · src/Manifest.bend:153

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

153def encode.names(names: List<&2, String>) -> Bytes.Bytes:
154  match names:
155    case Nil{}:
156      Bytes.new(0)
157    case Con{name, rest}:
158      encode.name.prefix(StorageBytes.from_string(name), encode.names(rest))

Uses (6)

Used by (1)