| 3238 | } |
| 3239 | |
| 3240 | bool is_byte_string() const noexcept |
| 3241 | { |
| 3242 | switch (storage_kind()) |
| 3243 | { |
| 3244 | case json_storage_kind::byte_str: |
| 3245 | return true; |
| 3246 | case json_storage_kind::const_json_ref: |
| 3247 | return cast<const_json_ref_storage>().value().is_byte_string(); |
| 3248 | case json_storage_kind::json_ref: |
| 3249 | return cast<json_ref_storage>().value().is_byte_string(); |
| 3250 | default: |
| 3251 | return false; |
| 3252 | } |
| 3253 | } |
| 3254 | |
| 3255 | bool is_byte_string_view() const noexcept |
| 3256 | { |
no test coverage detected