LLVM  12.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::BinarySubstreamRef Struct Reference

#include "llvm/Support/BinaryStreamRef.h"

Collaboration diagram for llvm::BinarySubstreamRef:
Collaboration graph

Public Member Functions

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

Public Attributes

uint32_t Offset = 0
BinaryStreamRef StreamData

Detailed Description

Definition at line 200 of file BinaryStreamRef.h.

Member Function Documentation

◆ drop_front()

BinarySubstreamRef llvm::BinarySubstreamRef::drop_front ( uint32_t  N) const

◆ empty()

bool llvm::BinarySubstreamRef::empty ( ) const

◆ keep_front()

BinarySubstreamRef llvm::BinarySubstreamRef::keep_front ( uint32_t  N) const

◆ size()

uint32_t llvm::BinarySubstreamRef::size ( ) const

◆ slice()

BinarySubstreamRef llvm::BinarySubstreamRef::slice ( uint32_t  Off,
uint32_t  Size 
) const

◆ split()

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

Member Data Documentation

◆ Offset

uint32_t llvm::BinarySubstreamRef::Offset = 0

Definition at line 201 of file BinaryStreamRef.h.

Referenced by llvm::BinaryStreamReader::readSubstream().

◆ StreamData

BinaryStreamRef llvm::BinarySubstreamRef::StreamData

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