def encode.names
import mylsm-lsm-store@0.6.0.1/src/Manifest.bend as Manifestimport 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))