deps/ada-toml/src/toml-generic_dump.ads
raw| 1 | generic |
| 2 | type Output_Stream (<>) is limited private; |
| 3 | -- Stream of bytes |
| 4 | |
| 5 | with procedure Put (Stream : in out Output_Stream; Bytes : String) is <>; |
| 6 | -- Write all Bytes in Stream |
| 7 | |
| 8 | procedure TOML.Generic_Dump |
| 9 | (Stream : in out Output_Stream; |
| 10 | Value : TOML_Value) |
| 11 | with Preelaborate, Pre => Value.Kind = TOML_Table; |
| 12 | -- Turn the given Value into a valid TOML document and write it to Stream |