It would be great if the output produced by BinaryData would be presented in the form of a standard container. Here’s a class I rolled, “IntrusiveArray” which could be used to present the binary data as a standard container with almost no effort:
This sure beats the “char const* return value, int reference parameter” interface of getNamedResource.