OutputStreamExtensions

better.files.Implicits.OutputStreamExtensions
implicit class OutputStreamExtensions(val out: OutputStream)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def adler32: CheckedOutputStream
def asGzipOutputStream(bufferSize: Int, syncFlush: Boolean): GZIPOutputStream
def asObjectOutputStream(bufferSize: Int): ObjectOutputStream

If bufferSize is set to less than or equal to 0, we don't buffer

If bufferSize is set to less than or equal to 0, we don't buffer

Attributes

def asZipOutputStream(charset: Charset): ZipOutputStream
def buffered: BufferedOutputStream
def buffered(bufferSize: Int): BufferedOutputStream
def crc32: CheckedOutputStream
def md5: DigestOutputStream
def printWriter(autoFlush: Boolean): PrintWriter
def sha1: DigestOutputStream
def sha256: DigestOutputStream
def sha512: DigestOutputStream
def tee(out2: OutputStream): OutputStream
def withChecksum(checksum: Checksum): CheckedOutputStream
def withMessageDigest(digest: MessageDigest): DigestOutputStream
def write(bytes: Iterator[Byte], bufferSize: Int): OutputStream
def writeAndClose(str: String, charset: Charset): Unit
def writer(charset: Charset): OutputStreamWriter

Concrete fields

val out: OutputStream