def packed.text.of

emerging-ezhttp@0.21.0.0 · src/packed.bend:25

import emerging-ezhttp@0.21.0.0/src/packed.bend as Packed
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

25# a slice's copy as text, the buffer kept
26def packed.text.of(r: Bytes.Bytes & Bytes.Bytes) -> Bytes.Bytes & String:
27  (b, piece) = r
28  (b, Bytes.to_string(piece))

Uses (5)

Used by (1)