Closed ScanMountGoat closed 6 months ago
Hi, sorry about the delay. Wondering if it would be possible to do this example not using the FilePtrArgs
type? It might be a silly thing to request since these are technically part of the public API but at the moment my gut says it isn’t a good idea to put examples in the docs that use these associated types that are only intended to be used with their parent class.
I can change it to use a custom args type like CustomPtr32Args
with the same fields.
Do the latest changes look ok? @csnover
Any updates on this? @csnover
Does this look ok? @csnover
Adds a slightly non trivial example for how to implement BinRead. I found that implementing BinRead for a generic type with the recent args changes was straightforward but not very obvious without examples.