first working attempt

This commit is contained in:
jan 2025-04-12 12:06:36 -07:00
commit e2ba1390c6

View file

@ -112,7 +112,7 @@ impl Record<Int2> for HEADER {
pub struct BGNLIB;
impl Record<DateTimePair> for BGNLIB {
fn tag() -> u16 { RTAG_BGNLIB }
fn expected_size() -> Option<u16> { Some(2 * 6) }
fn expected_size() -> Option<u16> { Some(2 * 2 * 6) }
}
pub struct LIBNAME;
@ -143,7 +143,7 @@ impl Record<DateTimePair> for BGNSTR {
pub struct STRNAME;
impl Record<ASCII> for STRNAME {
fn tag() -> u16 { RTAG_STRNAME }
fn expected_size() -> Option<u16> { Some(2 * 6) }
fn expected_size() -> Option<u16> { None }
}
pub struct ENDSTR;