first working attempt
This commit is contained in:
parent
4aa14c4914
commit
e2ba1390c6
1 changed files with 165 additions and 55 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue