ATLAS Offline Software
Loading...
Searching...
No Matches
python.utils.AtlRunQueryFastBlobRead Namespace Reference

Functions

 blob_read (self, size=-1)

Variables

 read
 pos = endpos

Function Documentation

◆ blob_read()

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

Definition at line 8 of file AtlRunQueryFastBlobRead.py.

8def 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

Variable Documentation

◆ pos

python.utils.AtlRunQueryFastBlobRead.pos = endpos

Definition at line 14 of file AtlRunQueryFastBlobRead.py.

◆ read

python.utils.AtlRunQueryFastBlobRead.read

Definition at line 20 of file AtlRunQueryFastBlobRead.py.