vertx / io.vertx.core.parsetools / JsonEvent / binaryValue

# binaryValue

`abstract fun binaryValue(): Buffer`

Return the binary value.

JSON itself has no notion of a binary, this extension complies to the RFC-7493, so this method assumes there is a String value with the key and it contains a Base64 encoded binary, which it decodes if found and returns.

### Exceptions

`java.lang.ClassCastException` - if the value is not a String

`java.lang.IllegalArgumentException` - if the String value is not a legal Base64 encoded value

Return
the binary value or `null` if the event has no JSON value