LLVM  14.0.0git
Public Member Functions | List of all members
llvm::orc::shared::SPSOutputBuffer Class Reference

Output char buffer with overflow check. More...

#include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h"

Public Member Functions

 SPSOutputBuffer (char *Buffer, size_t Remaining)
 
bool write (const char *Data, size_t Size)
 

Detailed Description

Output char buffer with overflow check.

Definition at line 53 of file SimplePackedSerialization.h.

Constructor & Destructor Documentation

◆ SPSOutputBuffer()

llvm::orc::shared::SPSOutputBuffer::SPSOutputBuffer ( char *  Buffer,
size_t  Remaining 
)
inline

Definition at line 55 of file SimplePackedSerialization.h.

Member Function Documentation

◆ write()

bool llvm::orc::shared::SPSOutputBuffer::write ( const char *  Data,
size_t  Size 
)
inline

Definition at line 57 of file SimplePackedSerialization.h.

References llvm::Data, memcpy(), and llvm::Check::Size.


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