API · fn
dump
pub fn[T : Codec] dump(T, @buffer.Buffer, config? : Config, xlang? : Bool, track_ref? : Bool, check_string? : Bool, depth? : Int32, fields? : Int32, graph? : Int32, wins? : Wins, clash? : OnClash[Config]) -> Unit raise
The same, into a buffer the caller keeps: for a stream of messages written one after another, or for a buffer that already holds a header of its own.
The configuration is the record, then this call's flat mirrors: the library preset is beaten by the record, and the record by the flat mirrors, unless wins says otherwise. A flat mirror that contradicts the record beside it is what clash arbitrates: taken silently by wins, refused, or handed to the caller's function as (the record, the two as one).
Generated from src/pkg.generated.mbti and the doc comments beside this declaration.