# class-rs
Reads a .class file into an almost 1-to-1 matching struct.\
⚠️ `Constant::Utf8` are using Rust's String type and not the JVM's modified UTF-8. If you have a string that makes that crate panic, open an issue.
## Example
```rust
let mut jvm = JVMClass::new();
let mut file = std::fs::File::open("Test.class").unwrap();
jvm.load(&mut file).unwrap();
```
## Unimplemented attributes
For now, those attributes will make this crate panic if they are encountered.
- MethodParameters
- Module
- ModuleMainClass
- Record
- RuntimeInvisibleTypeAnnotations
- RuntimeVisibleTypeAnnotations