Go to the documentation of this file.
9#ifndef LLDB_API_SBFILE_H
10#define LLDB_API_SBFILE_H
28 SBFile(FILE *file,
bool transfer_ownership);
30 SBFile(
int fd,
const char *mode,
bool transfer_ownership);
35 SBError Read(uint8_t *buf,
size_t num_bytes,
size_t *OUTPUT);
36 SBError Write(
const uint8_t *buf,
size_t num_bytes,
size_t *OUTPUT);
41 operator bool()
const;
43 bool operator!()
const;
46 FileSP GetFile()
const;