@@ -112,10 +112,6 @@ public:
112112 // / The key length of a blob. It is always a big key (version > 1000) with class name RBlob.
113113 static constexpr std::size_t kBlobKeyLen = 42 ;
114114
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-
119115private:
120116 struct RFileProper {
121117 // / A sub directory in fFile or nullptr if the data is stored in the root directory of the file
@@ -246,6 +242,11 @@ public:
246242 std::uint64_t WriteNTupleFooter (const void *data, size_t nbytes, size_t lenFooter);
247243 // / Writes a new record as an RBlob key into the file
248244 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+
249250 // / Reserves a new record as an RBlob key in the file. If keyBuffer is specified, it must be written *before* the
250251 // / returned offset. (Note that the array type is purely documentation, the argument is actually just a pointer.)
251252 std::uint64_t ReserveBlob (size_t nbytes, size_t len, unsigned char keyBuffer[kBlobKeyLen ] = nullptr );
0 commit comments