Clarify constant
This commit is contained in:
parent
5fde2887bd
commit
86fe8541c4
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ use anyhow::*;
|
||||||
use reed_solomon::Encoder;
|
use reed_solomon::Encoder;
|
||||||
use reed_solomon::{Buffer, Decoder};
|
use reed_solomon::{Buffer, Decoder};
|
||||||
|
|
||||||
const BLOCK_SIZE: usize = 255 - ECC_LENGTH;
|
const BLOCK_SIZE: usize = u8::MAX as usize - ECC_LENGTH;
|
||||||
const ECC_LENGTH: usize = 8;
|
const ECC_LENGTH: usize = 8;
|
||||||
|
|
||||||
// TODO: make the API streaming friendly
|
// TODO: make the API streaming friendly
|
||||||
|
|
Loading…
Reference in a new issue