Variant
toBuffer() [Variant class]
Since 6.2.0:
// PROTOTYPE
Buffer toBuffer() const;
Buffer toBuffer(bool& ok) const;
A Variant containing a Buffer
cannot be serialized to JSON or deserialized from JSON as JSON does not support binary values.
See value, as, and to for when to use the asXXX() vs. other accessors.