readFileBytes

public func readFileBytes(String) -> Result[Array[UInt8], IoError]

Reads path into an Array[UInt8]. The binary counterpart to readFileString — does no UTF-8 decoding.

Defined in lang/std/io/file.ks