This is a bit nitpicky, but would you mind changing the type of the ascii arg to an enum? I find these boolean args lead to hard to read code... if all you see is `new RDataWriter(context, myHook, false)` you never know what the `false` means...

Something like `enum SerializationFormat { ASCII, XDR }` ?