move some functions around

This commit is contained in:
Henry Schimke
2023-03-20 16:39:19 -05:00
parent 372bb454c0
commit f852e14331
2 changed files with 12 additions and 25 deletions

View File

@@ -930,7 +930,7 @@ impl ECBlocks {
}
}
pub fn getECCodewordsPerBlock(&self) -> u32 {
pub const fn getECCodewordsPerBlock(&self) -> u32 {
self.ecCodewordsPerBlock
}
@@ -970,11 +970,11 @@ impl ECB {
}
}
pub fn getCount(&self) -> u32 {
pub const fn getCount(&self) -> u32 {
self.count
}
pub fn getDataCodewords(&self) -> u32 {
pub const fn getDataCodewords(&self) -> u32 {
self.dataCodewords
}
}