MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / fsRead

Method fsRead

Libraries/Await/Await.cpp:1049–1054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047}
1048
1049AwaitFileSystemOperationAwaiter AwaitEventLoop::fsRead(ThreadPool& threadPool, FileDescriptor& file, Span<char> buffer,
1050 AwaitFileReadResult& outResult, uint64_t offset)
1051{
1052 return AwaitFileSystemOperationAwaiter(*this, threadPool, AwaitFileSystemOperationType::Read, file, buffer,
1053 outResult, offset);
1054}
1055
1056AwaitFileSystemOperationAwaiter AwaitEventLoop::fsWrite(ThreadPool& threadPool, FileDescriptor& file,
1057 Span<const char> data, AwaitFileWriteResult* outResult,

Callers 3

readConfigFileFunction · 0.80
readOneFileFunction · 0.80

Tested by 1