From 0befcc026be9e4f6c40f8771c7f26f767ebddbf7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 30 Sep 2024 11:50:17 -0700 Subject: Erasing streams works, stream map building works. --- src/stable/myriad.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stable/myriad.h') diff --git a/src/stable/myriad.h b/src/stable/myriad.h index 60c5a39..7f84c2a 100644 --- a/src/stable/myriad.h +++ b/src/stable/myriad.h @@ -7,6 +7,8 @@ #include "bu/array.h" #include "bu/hash.h" +#include "bu/bitstring.h" + namespace Bu { class MyriadStream; @@ -87,6 +89,8 @@ namespace Bu int32_t getTotalStreams() const; int32_t getTotalUsedBytes() const; int32_t getTotalUnusedBytes( int32_t iAssumeBlockSize=-1 ) const; + Bu::BitString buildBlockUseMap() const; + Bu::Array buildBlockMap() const; /** * Flush all caches to the backing stream, write all structural and -- cgit v1.2.3