71 bool openedOk() const noexcept {
return status.wasOk(); }
75 int64 getTotalLength()
override;
76 int read (
void*,
int)
override;
77 bool isExhausted()
override;
78 int64 getPosition()
override;
79 bool setPosition (int64)
override;
84 void* fileHandle =
nullptr;
85 int64 currentPosition = 0;
89 size_t readInternal (
void*,
size_t);
#define JUCE_API
This macro is added to all JUCE public class declarations.
static Result ok() noexcept
Creates and returns a 'successful' result.
Represents the 'success' or 'failure' of an operation, and holds an associated error message to descr...
Represents a local file or directory.