Initialize buffer pointers and whether a null terminator is required.

Synopsis

Declared in <llvm/Support/MemoryBuffer.h>

void
init(
    char const* BufStart,
    char const* BufEnd,
    bool RequiresNullTerminator);

Parameters

Name

Description

BufStart

Pointer to the first byte of the buffer.

BufEnd

Pointer one past the last byte of the buffer.

RequiresNullTerminator

Whether the buffer must be null‐terminated.

Created with MrDocs