diff --git a/README.md b/README.md index ae2db29..41370b7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Further reading: ## Licensing -Copyright 2017-2022 Kaitai Project: MIT license +Copyright 2017-2024 Kaitai Project: MIT license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/kaitai/struct.go b/kaitai/struct.go new file mode 100644 index 0000000..d4eb62b --- /dev/null +++ b/kaitai/struct.go @@ -0,0 +1,7 @@ +package kaitai + +// Struct is the common interface guaranteed to be implemented by all types generated +// by Kaitai Struct compiler. +type Struct interface { + Kaitai_IO() *kaitai.Stream +}