ATLAS Offline Software
Functions | Variables
python.utils.AtlRunQueryFastBlobRead Namespace Reference

Functions

def blob_read (self, size=-1)
 

Variables

 pos
 

Function Documentation

◆ blob_read()

def python.utils.AtlRunQueryFastBlobRead.blob_read (   self,
  size = -1 
)

Definition at line 8 of file AtlRunQueryFastBlobRead.py.

8 def blob_read(self, size = -1):
9  if size < 0:
10  endpos = self.size()
11  else:
12  endpos = self.pos + size
13  beginpos = self.pos
14  self.pos = endpos
15  buf = self.startingAddress()
16  buf.SetSize(self.size())
17  return buf[beginpos:endpos]
18 
19 # add the new functions
20 getattr(gbl,"coral::Blob").read = blob_read

Variable Documentation

◆ pos

python.utils.AtlRunQueryFastBlobRead.pos

Definition at line 14 of file AtlRunQueryFastBlobRead.py.

python.utils.AtlRunQueryFastBlobRead.blob_read
def blob_read(self, size=-1)
Definition: AtlRunQueryFastBlobRead.py:8