def encode_file

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:1798

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

1798# Encode one complete table for small in-memory callers and fixtures.
1799def encode_file(
1800  +entries: List<&2, MemTable.Entry>,
1801  +level: U32
1802) -> Result<&1, &1, Error, Bytes.Bytes>:
1803  encode.ready(entries, new_encoder(entries, level))

Uses (8)

Used by (0)

No other definition uses this definition.