encodeWireIdEventsJsonl function
Encodes events as canonical JSONL with LF line endings.
Implementation
String encodeWireIdEventsJsonl(Iterable<WireIdEvent> events) {
final buffer = StringBuffer();
for (final event in events) {
buffer
..write(encodeWireIdEventJson(event))
..write('\n');
}
return buffer.toString();
}