/ caller guarantees that data will persist all *this lifetime / int this case so we don`t have to copy data to locally held buffer template void WriteNoCopy(const T *data) { Chain.AddBlock(data, sizeof(T)); }
| 224 | // Chain.AddBlock(data, sizeof(T)); |
| 225 | //} |
| 226 | void WriteNoCopy(const char* buf, int sz) { |
| 227 | Write(sz); |
| 228 | Chain.AddBlock(buf, sz); |
| 229 | } |
| 230 | // write some array like TVector<> |
| 231 | //template<class T> |
| 232 | //void WriteArr(const T &sz) |