Add PackageReaderImpl heapOffset/Size getters
This commit is contained in:
parent
97aabbede9
commit
c83c5423aa
@ -38,6 +38,9 @@ public:
|
|||||||
|
|
||||||
int PackageFileFD() const;
|
int PackageFileFD() const;
|
||||||
|
|
||||||
|
uint64 HeapOffset() const;
|
||||||
|
uint64 HeapSize() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// from ReaderImplBase
|
// from ReaderImplBase
|
||||||
virtual status_t ReadAttributeValue(uint8 type, uint8 encoding,
|
virtual status_t ReadAttributeValue(uint8 type, uint8 encoding,
|
||||||
@ -71,6 +74,20 @@ PackageReaderImpl::PackageFileFD() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline uint64
|
||||||
|
PackageReaderImpl::HeapOffset() const
|
||||||
|
{
|
||||||
|
return fHeapOffset;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline uint64
|
||||||
|
PackageReaderImpl::HeapSize() const
|
||||||
|
{
|
||||||
|
return fHeapSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} // namespace BPrivate
|
} // namespace BPrivate
|
||||||
|
|
||||||
} // namespace BHPKG
|
} // namespace BHPKG
|
||||||
|
Loading…
Reference in New Issue
Block a user