FileBase.length

Gets the size of the file.

  1. long length [@property getter]
    struct FileBase
    @property
    long
    length
    ()
  2. long length [@property setter]

Examples

auto f = File("foobar", FileFlags.writeEmpty);
f.write("test");
assert(f.length == 4);

Meta