def utf8.scan.fin.done

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

import mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend as StorageBytes
import Base

46def utf8.scan.fin.done(out: String, complete: Bool) -> Result<&1, &1, U32 & String, String>:
47  match complete:
48    case True{}:
49      Done{String.reverse(out)}
50    case False{}:
51      Fail{(1, "invalid UTF-8")}

Uses (7)

Used by (1)