WPILibC++ 2024.3.2
wpi::MemoryBufferRef Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/MemoryBuffer.h>

Public Member Functions

 MemoryBufferRef ()=default
 
 MemoryBufferRef (MemoryBuffer &buffer)
 
 MemoryBufferRef (std::span< const uint8_t > buffer, std::string_view id)
 
std::span< const uint8_t > GetBuffer () const
 
std::string_view GetBufferIdentifier () const
 
const uint8_t * begin () const
 
const uint8_t * end () const
 
size_t size () const
 

Constructor & Destructor Documentation

◆ MemoryBufferRef() [1/3]

wpi::MemoryBufferRef::MemoryBufferRef ( )
default

◆ MemoryBufferRef() [2/3]

wpi::MemoryBufferRef::MemoryBufferRef ( MemoryBuffer buffer)
inline

◆ MemoryBufferRef() [3/3]

wpi::MemoryBufferRef::MemoryBufferRef ( std::span< const uint8_t >  buffer,
std::string_view  id 
)
inline

Member Function Documentation

◆ begin()

const uint8_t * wpi::MemoryBufferRef::begin ( ) const
inline

◆ end()

const uint8_t * wpi::MemoryBufferRef::end ( ) const
inline

◆ GetBuffer()

std::span< const uint8_t > wpi::MemoryBufferRef::GetBuffer ( ) const
inline

◆ GetBufferIdentifier()

std::string_view wpi::MemoryBufferRef::GetBufferIdentifier ( ) const
inline

◆ size()

size_t wpi::MemoryBufferRef::size ( ) const
inline

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