[Yunq] Add support for repeated nested fields
This commit is contained in:
parent
05f2403dc2
commit
9c860dd6a4
14 changed files with 207 additions and 61 deletions
|
|
@ -19,6 +19,10 @@ glcr::Status MessageView::CheckHeader() const {
|
|||
return glcr::Status::Ok();
|
||||
}
|
||||
|
||||
uint32_t MessageView::MessageLength() const {
|
||||
return buffer_.At<uint32_t>(offset_ + 8);
|
||||
}
|
||||
|
||||
template <>
|
||||
glcr::ErrorOr<uint64_t> MessageView::ReadField<uint64_t>(
|
||||
uint64_t field_index) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue