macros rename
This commit is contained in:
@@ -219,12 +219,12 @@ inline std::ostream & operator <<(std::ostream & s, const PIByteArray & ba);
|
||||
PIP_EXPORT PICout operator <<(PICout s, const PIByteArray & ba);
|
||||
|
||||
|
||||
BINARY_STREAM_STORE(PIByteArray) {
|
||||
BINARY_STREAM_WRITE(PIByteArray) {
|
||||
s.binaryStreamAppend((int)v.size_s());
|
||||
s.binaryStreamAppend(v.data(), v.size());
|
||||
return s;
|
||||
}
|
||||
BINARY_STREAM_RESTORE(PIByteArray) {
|
||||
BINARY_STREAM_READ(PIByteArray) {
|
||||
v.resize(s.binaryStreamTakeInt());
|
||||
s.binaryStreamTake(v.data(), v.size());
|
||||
return s;
|
||||
|
||||
Reference in New Issue
Block a user