bufToList method
Return iterable List from StringBuffer. Also in tools.
Implementation
List<String> bufToList(StringBuffer buf) {
List<String> _l = [];
String _s = buf.toString();
_l.addAll(_s.split('\n'));
return _l;
}
Return iterable List from StringBuffer. Also in tools.
List<String> bufToList(StringBuffer buf) {
List<String> _l = [];
String _s = buf.toString();
_l.addAll(_s.split('\n'));
return _l;
}