@@ -112,10 +112,6 @@ public:
112
112
// / The key length of a blob. It is always a big key (version > 1000) with class name RBlob.
113
113
static constexpr std::size_t kBlobKeyLen = 42 ;
114
114
115
- // / Prepares buffer for a new record as an RBlob key at offset.
116
- // / (Note that the array type is purely documentation, the argument is actually just a pointer.)
117
- static void PrepareBlobKey (std::int64_t offset, size_t nbytes, size_t len, unsigned char buffer[kBlobKeyLen ]);
118
-
119
115
private:
120
116
struct RFileProper {
121
117
// / A sub directory in fFile or nullptr if the data is stored in the root directory of the file
@@ -246,6 +242,11 @@ public:
246
242
std::uint64_t WriteNTupleFooter (const void *data, size_t nbytes, size_t lenFooter);
247
243
// / Writes a new record as an RBlob key into the file
248
244
std::uint64_t WriteBlob (const void *data, size_t nbytes, size_t len);
245
+
246
+ // / Prepares buffer for a new record as an RBlob key at offset.
247
+ // / (Note that the array type is purely documentation, the argument is actually just a pointer.)
248
+ static void PrepareBlobKey (std::int64_t offset, size_t nbytes, size_t len, unsigned char buffer[kBlobKeyLen ]);
249
+
249
250
// / Reserves a new record as an RBlob key in the file. If keyBuffer is specified, it must be written *before* the
250
251
// / returned offset. (Note that the array type is purely documentation, the argument is actually just a pointer.)
251
252
std::uint64_t ReserveBlob (size_t nbytes, size_t len, unsigned char keyBuffer[kBlobKeyLen ] = nullptr );
0 commit comments