|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef ROOTUTILS_PYROOTTFILEPYTHONIZE_H
16 #define ROOTUTILS_PYROOTTFILEPYTHONIZE_H 1
53 std::vector<char>
buf;
74 #endif // not ROOTUTILS_PYROOTTFILEPYTHONIZE_H
PyBytes(size_t buf_sz=0)
wrapper around char* to explicitly mean bytes.
void * buffer() const
After we drop py2, we can simplify the code in PyUtils.RootUtils.py by just returning a bytes object ...
PyBytes _pythonize_read_root_file(TFile *f, Int_t len)
read len bytes from file f
std::vector< char > buf
the buffer of bytes
size_t sz
the size of the buffer of bytes
PyBytes & operator=(const PyBytes &rhs)
Long64_t _pythonize_tell_root_file(TFile *f)
tell the current position in file f