This commit is contained in:
Stanislav N Mikhailov
2026-08-10 17:29:15 +03:00
parent e45b86cd20
commit 46f2721570
4 changed files with 21 additions and 17 deletions
-1
View File
@@ -1,6 +1,5 @@
// Парсим заголовок на базе Nom
pub const HEADER_SIZE: usize = 20;
pub const MAX_BODY_SIZE: u64 = 1024 * 1024;
use nom::{
bytes::complete::tag,