LineBufferingOutputStream
mill.internal.LineBufferingOutputStream
class LineBufferingOutputStream(onLineComplete: ByteArrayOutputStream => Unit) extends OutputStream
Prefixes the first and each new line with a dynamically provided prefix, and buffers up each line in memory before writing to the out stream to prevent individual lines from being mixed together
Value parameters
- linePrefix
-
The function to provide the prefix.
- out
-
The underlying output stream.
Attributes
- Source
- LineBufferingOutputStream.scala
- Graph
-
- Supertypes
-
class OutputStreamtrait Flushabletrait Closeabletrait AutoCloseableclass Objecttrait Matchableclass Any
Members list
In this article