API Reference
Class
Parser
Minimal parser for extracting module names from a VBA project.
Inheritance
- Object
- Parser
Methods
GetModuleNames(System.IO.Stream stream) #Reads module names from the provided VBA project stream.
Parameters
- stream System.IO.Stream
- Stream containing vbaProject.bin.
Returns
List of module names.
ParseDirectory(System.Byte[] arg1) #Parses directory entries from a byte buffer.
Parameters
- arg1 System.Byte[]
ReadChain(System.IO.Stream arg1, System.IO.BinaryReader arg2, System.Int32 arg3, System.Int32 arg4, System.Collections.Generic.List{System.Int32} arg5) #Reads a chain of sectors from the compound file.
Parameters
- arg1 System.IO.Stream
- arg2 System.IO.BinaryReader
- arg3 System.Int32
- arg4 System.Int32
- arg5 System.Collections.Generic.List{System.Int32}
ReadFat(System.IO.Stream arg1, System.IO.BinaryReader arg2, System.Collections.Generic.List{System.Int32} arg3, System.Int32 arg4) #Reads the File Allocation Table sectors.
Parameters
- arg1 System.IO.Stream
- arg2 System.IO.BinaryReader
- arg3 System.Collections.Generic.List{System.Int32}
- arg4 System.Int32
RemoveModule(System.Byte[] data, System.String moduleName) #Removes a module stream with the given name from the VBA project data.
Parameters
- data System.Byte[]
- Binary VBA project.
- moduleName System.String
- Module name to remove.
Returns
true when the module was removed.