|
|
@ -42,9 +42,8 @@ auto WriteChunksToStream(MessageBufferHandle_t* stream, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Put together a header.
|
|
|
|
// Put together a header.
|
|
|
|
cpp::result<size_t, CborError> encoder_res; |
|
|
|
|
|
|
|
CborEncoder arr; |
|
|
|
CborEncoder arr; |
|
|
|
WriteMessage( |
|
|
|
cpp::result<size_t, CborError> encoder_res = WriteMessage( |
|
|
|
TYPE_CHUNK_HEADER, |
|
|
|
TYPE_CHUNK_HEADER, |
|
|
|
[&](CborEncoder& container) { |
|
|
|
[&](CborEncoder& container) { |
|
|
|
cbor_encoder_create_array(&container, &arr, 2); |
|
|
|
cbor_encoder_create_array(&container, &arr, 2); |
|
|
|