llvm::WritableBinaryStreamRef::drop_back

Return a new BinaryStreamRef with the last N elements removed.

Synopsis

Declared in <llvm/Support/BinaryStreamRef.h>

WritableBinaryStreamRef
drop_back(uint64_t N) const;

Description

If this BinaryStreamRef is length-tracking and N is greater than 0, then this BinaryStreamRef will no longer length-track.

Return Value

A new BinaryStreamRef with the last N elements removed.

Parameters

NameDescription
NNumber of elements to remove from the end.