From 2ce74d3177ba8d5cfa7a01a3c2869bf8468ec977 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 24 Feb 2025 18:20:23 -0500 Subject: [PATCH] Add TODO about none checks --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 38b79d4..e7a11b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,6 +69,7 @@ pub struct Entry { #[br(parse_with = read_string_with_length)] #[bw(write_with = write_string_with_length)] + // TODO: remove the "None" check since that's working around missing "None" padding at the end of structs and elsewhere #[br(if(name != "None"))] pub type_name: String,