Validate that Offset and DataSize fall within this view for reading.
Declared in <llvm/Support/BinaryStreamRef.h>
Error
checkOffsetForRead(
uint64_t Offset,
uint64_t DataSize) const;
Error::success() if the range is valid, otherwise an appropriate error.
| Name | Description |
|---|---|
| Offset | Byte offset relative to this view at which to begin. |
| DataSize | Number of bytes to be read. |