Skip to content

Commit 0d1458e

Browse files
committed
[ntuple] Move PrepareBlobKey after private methods
1 parent 7cb9569 commit 0d1458e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tree/ntuple/v7/inc/ROOT/RMiniFile.hxx

+5-4
Original file line numberDiff line numberDiff line change
@@ -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-
119115
private:
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

Comments
 (0)