Definition at line 46 of file G4Serialize.cc.
◆ read()
static G4String UReadBinaryString::read |
( |
std::istream & |
is, |
|
|
size_t |
size |
|
) |
| |
|
inlinestatic |
Definition at line 49 of file G4Serialize.cc.
50 {
52 if(size > 0)
53 {
54 char* buff = new char[size];
55 is.read(buff, size);
56 returnStr.assign(buff, size);
57 delete [] buff;
58 }
59
60 return returnStr;
61 }
Referenced by READ< G4String >().
The documentation for this class was generated from the following file:
- source/processes/electromagnetic/dna/molecules/management/src/G4Serialize.cc