()
| 2495 | |
| 2496 | #[test] |
| 2497 | fn large_binary_encoder() { |
| 2498 | let values: Vec<&[u8]> = vec![b"xyz", b""]; |
| 2499 | let arr = LargeBinaryArray::from_vec(values); |
| 2500 | let mut expected = Vec::new(); |
| 2501 | for payload in [b"xyz" as &[u8], b""] { |
| 2502 | expected.extend(avro_len_prefixed_bytes(payload)); |
| 2503 | } |
| 2504 | let got = encode_all(&arr, &FieldPlan::Scalar, None); |
| 2505 | assert_bytes_eq(&got, &expected); |
| 2506 | } |
| 2507 | |
| 2508 | #[test] |
| 2509 | fn utf8_encoder() { |
nothing calls this directly
no test coverage detected