Add GetBit() method to Block

This commit is contained in:
Leonetienne
2022-05-24 23:18:39 +02:00
parent db0add6e6e
commit e552e1a6f8
3 changed files with 29 additions and 0 deletions

View File

@@ -123,6 +123,9 @@ namespace Leonetienne::GCrypt {
//! Will zero all data
void Reset();
//! Will return the state of any given bit
[[nodiscard]] bool GetBit(const std::size_t index) const;
//! Returns 32-bit chunks of data, indexed by matrix coordinates (0-3)
[[nodiscard]] std::uint32_t& Get(const std::uint8_t row, const std::uint8_t column);
//! Returns 32-bit chunks of data, indexed by matrix coordinates (0-3)