Shared bound for projecting a raw println list into a caller-facing form.
One rule for "how many prints, and how many bytes" is used everywhere a
PtcRunner.Lisp.Result.t()'s prints list crosses into a bounded owner-facing
projection: PtcRunner.Kernel.AnalysisSession result projection and
PtcRunner.Kernel.Runner execution-phase inspection capture. A non-binary or
invalid-UTF-8 entry is retained as an empty string rather than dropped, so
bounded position and count stay aligned with the source list.
Summary
Functions
Bounds prints to at most max_count entries and max_bytes JSON-encoded bytes.
Functions
@spec bound([term()], pos_integer(), pos_integer()) :: {[String.t()], boolean()}
Bounds prints to at most max_count entries and max_bytes JSON-encoded bytes.