ValidateCompactBinaryAttachment

Validate the compact binary attachment pointed to by the view as specified by the mode flags.