Description
UL uses a lot of buffer pointer + buffer length pairs in its LogSelection API. These require a lot of care on part of the developer to read and to change. Changing these APIs to take outputStream* as input and storing strings in stringStreams instead of buffers would greatly reduce the complexity of this code.