LLVM  8.0.1
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
[legend]

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 Offset) const
 
uint32_t size () const
 
bool empty () const
 

Public Attributes

uint32_t Offset
 
BinaryStreamRef StreamData
 

Detailed Description

Definition at line 201 of file BinaryStreamRef.h.

Member Function Documentation

◆ drop_front()

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

◆ empty()

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

◆ keep_front()

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

◆ size()

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

◆ slice()

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

◆ split()

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

Member Data Documentation

◆ Offset

uint32_t llvm::BinarySubstreamRef::Offset

Definition at line 202 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: