isBitcode - Return true if the given bytes are the magic bytes for LLVM IR bitcode, either with or without a wrapper.
Declared in <llvm/Bitcode/BitcodeReader.h>
bool
isBitcode(
unsigned char const* BufPtr,
unsigned char const* BufEnd);
True if the buffer starts with wrapped or raw bitcode magic.
| Name | Description |
|---|---|
| BufPtr | Pointer to the start of the buffer. |
| BufEnd | Pointer one past the end of the buffer. |