Gets the size, in bytes, of the current file.
#include <xtd/xtd>
auto main() -> int {
lidt<file_info> fi_arr = di.get_files();
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
Represents the standard input, output, and error streams for console applications.
Definition console.h:36
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories...
Definition directory_info.h:129
size_t length() const
Gets the size, in bytes, of the current file.
xtd::string name() const override
Gets the name of the file.
Provides static methods for the creation, copying, deletion, moving, and opening of files,...
Definition file_info.h:41
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition comparer.h:15
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.h:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10