/* * Return the current Append-Only Storage Block buffer. */ uint8 *AppendOnlyStorageRead_CurrentBuffer( AppendOnlyStorageRead *storageRead) { Assert(storageRead != NULL); Assert(storageRead->isActive); return BufferedReadGetCurrentBuffer(&storageRead->bufferedRead); }
char * AppendOnlyStorageRead_StorageContentHeaderStr(AppendOnlyStorageRead *storageRead) { uint8 *header; header = BufferedReadGetCurrentBuffer(&storageRead->bufferedRead); return AppendOnlyStorageFormat_BlockHeaderStr(header, storageRead->storageAttributes.checksum, storageRead->formatVersion); }