Files

Frends.Files.ReadBytes / 1.2.0

Summary

Reads a file as raw bytes, with no character decoding, so binary content survives intact.

Typical use — images, archives and encrypted files, where reading as text would corrupt the content

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Input parameters.

Name Type Default Example Description
Path String c:\temp\foo.txt

Full path of the target file to be read.

An unhandled error has occurred. Reload 🗙