67 bool openedOk() const noexcept {
return status.wasOk(); }
71 int64 getTotalLength()
override;
72 int read (
void*,
int)
override;
73 bool isExhausted()
override;
74 int64 getPosition()
override;
75 bool setPosition (int64)
override;
80 void* fileHandle =
nullptr;
81 int64 currentPosition = 0;
82 Result status { Result::ok() };
85 size_t readInternal (
void*,
size_t);
87 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileInputStream)