Commit Graph

14 Commits

Author SHA1 Message Date
442b5c4006 Explicit lifetime for self
Because we give a reference to ourselves out to children as `_parent`,
we can't use an anonymous lifetime
2019-04-23 17:46:21 -04:00
1cec9a0fe6 Basic PoC for read_bytes
Mostly just needed to reassure myself that the lifetimes work.
2019-04-23 15:34:00 -04:00
cf92d98671 Fix compiler warnings 2019-04-23 13:29:31 -04:00
5343ac0396 Make sure the unit struct actually compiles 2019-04-23 13:25:38 -04:00
10b7219633 Add a unit type for KStruct 2019-04-23 13:17:42 -04:00
a079b75c6e Remove bad docs, make parent a KStruct 2019-04-23 13:02:31 -04:00
9723f0b12d Read everything as byte slices
Zero-copy baby.
2019-04-22 17:57:00 -04:00
d8f783e85d Use names more similar to C++ runtime 2019-04-22 15:46:18 -04:00
f9ae7b76cb Add an UnknownEnum error type, make KaitaiStruct optional for parents 2019-04-22 12:01:01 -04:00
7d297b884a Rustfmt 2019-04-18 11:31:33 -04:00
5c5d84a57b Final cleanup?
Need to spec out the process and zlib methods, but otherwise looks decent
2019-04-16 18:32:29 -04:00
79f9039c7e Not quite compiling, but getting better 2019-04-16 17:40:22 -04:00
af5bd80034 Minor cleanup 2019-04-16 14:55:24 -04:00
bfeb073143 Initial draft for the Kaitai API 2019-04-16 14:53:53 -04:00