Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::BinarySubstreamRef Struct Reference

#include "llvm/Support/BinaryStreamRef.h"

Public Member Functions

BinarySubstreamRef slice (uint64_t Off, uint64_t Size) const
BinarySubstreamRef drop_front (uint64_t N) const
BinarySubstreamRef keep_front (uint64_t N) const
std::pair< BinarySubstreamRef, BinarySubstreamRefsplit (uint64_t Off) const
uint64_t size () const
bool empty () const

Public Attributes

uint64_t Offset = 0
BinaryStreamRef StreamData

Detailed Description

Definition at line 198 of file BinaryStreamRef.h.

Member Function Documentation

◆ drop_front()

BinarySubstreamRef llvm::BinarySubstreamRef::drop_front ( uint64_t N) const
inline

Definition at line 206 of file BinaryStreamRef.h.

References N, size(), and slice().

Referenced by split().

◆ empty()

bool llvm::BinarySubstreamRef::empty ( ) const
inline

Definition at line 216 of file BinaryStreamRef.h.

References size().

◆ keep_front()

BinarySubstreamRef llvm::BinarySubstreamRef::keep_front ( uint64_t N) const
inline

Definition at line 209 of file BinaryStreamRef.h.

References N, and slice().

Referenced by split().

◆ size()

uint64_t llvm::BinarySubstreamRef::size ( ) const
inline

Definition at line 215 of file BinaryStreamRef.h.

References StreamData.

Referenced by drop_front(), and empty().

◆ slice()

BinarySubstreamRef llvm::BinarySubstreamRef::slice ( uint64_t Off,
uint64_t Size ) const
inline

Definition at line 202 of file BinaryStreamRef.h.

References Offset, Size, and StreamData.

Referenced by drop_front(), and keep_front().

◆ split()

std::pair< BinarySubstreamRef, BinarySubstreamRef > llvm::BinarySubstreamRef::split ( uint64_t Off) const
inline

Definition at line 211 of file BinaryStreamRef.h.

References drop_front(), and keep_front().

Member Data Documentation

◆ Offset

uint64_t llvm::BinarySubstreamRef::Offset = 0

◆ StreamData

BinaryStreamRef llvm::BinarySubstreamRef::StreamData

The documentation for this struct was generated from the following file: