read Bytes
Gets the entire content of this file as a byte array.
This method is not recommended on huge files. It has an internal limitation of 2 GB byte array size.
Return
the entire content of this file as a byte array.
Content copied to clipboard
Reads this stream completely into a byte array.
Note: It is the caller's responsibility to close this stream.
Reads this stream completely into a byte array.
Note: It is the caller's responsibility to close this stream.
Since Kotlin
1.3
Reads the entire content of the URL as byte array.
This method is not recommended on huge files.
Return
a byte array with this URL entire content.