readBytesAndClose

fun InputStream.readBytesAndClose(): <ERROR CLASS>