def utf8.scan.fin.done
import mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend as StorageBytesimport 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")}