Function readBinaryFile

Reads or writes a file in one call. It might internally yield, but is generally blocking if it returns values. The callback ones depend on the implementation.

const(ubyte[]) readBinaryFile(
  string filename
);

Tip

prefer the callback ones. If settings where async is possible, it will do async, and if not, it will sync.

NOT FULLY IMPLEMENTED