Skip to main content

parse_classfile

Function parse_classfile 

Source
pub fn parse_classfile(input: &[u8]) -> IResult<&[u8], ClassFile>
Expand description

Parse a Java class file from raw bytes.

Returns the remaining unparsed bytes and the parsed ClassFile. Fails if the magic number (0xCAFEBABE) doesn’t match or the data is malformed.