It overrides the SkStream:: version, but does the same thing.
Change-Id: I857f2119a85bb3f942707ab3cef58b45a2cf4b7a
Reviewed-on: https://skia-review.googlesource.com/14828
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
size_t getLength() const override;
- const void* getMemoryBase() override;
-
private:
explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset);
explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset, size_t originalOffset);
return fSize;
}
-const void* SkFILEStream::getMemoryBase() {
- return nullptr;
-}
-
///////////////////////////////////////////////////////////////////////////////
static sk_sp<SkData> newFromParams(const void* src, size_t size, bool copyData) {