IO

object IO
class Object
trait Matchable
class Any

Value members

Concrete methods

def readFromFile(from: File, chunkSize: Int): Array[Byte]

Reads all bytes from given java.io.File.

Reads all bytes from given java.io.File.

def readFromInputStream(from: InputStream, chunkSize: Int): Array[Byte]

Reads all bytes from given java.io.InputStream.

Reads all bytes from given java.io.InputStream.

Note that this method does not close supplied stream.