getS32 overloads

Synopses

Declared in <llvm/Support/DataExtractor.h>

Extract a int32_t value from the cursor location.

int32_t
getS32(Cursor& C) const;

Extract a int32_t value from *OffsetPtr.

int32_t
getS32(
    uint64_t* OffsetPtr,
    Error* Err = nullptr) const;

Return Value

The extracted int32_t value, or zero on failure.

Parameters

Name

Description

C [inout]

Cursor providing the extraction offset and sticky error state.

OffsetPtr [inout]

A pointer to an offset within the data that will be advanced on success, or left unmodified on failure.

Err [inout]

Optional Error set to indicate success or failure. If already set, no extraction is performed.

Created with MrDocs