toByteOrNull

Returns content as byte only if content can be byte, otherwise null.