MCPcopy Create free account
hub / github.com/lief-project/LIEF / PyIOStream

Class PyIOStream

api/python/src/pyIOStream.hpp:27–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26namespace LIEF::py {
27class PyIOStream : public VectorStream {
28 public:
29 static result<PyIOStream> from_python(nb::object object);
30 PyIOStream() = delete;
31
32 PyIOStream(const PyIOStream&) = delete;
33 PyIOStream& operator=(const PyIOStream&) = delete;
34
35 PyIOStream(PyIOStream&& other);
36 PyIOStream& operator=(PyIOStream&& other);
37
38 ~PyIOStream() override;
39
40 protected:
41 PyIOStream(nb::object io, std::vector<uint8_t> data);
42 nb::object io_;
43};
44}
45
46#endif

Callers 1

from_pythonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected