| 1033 | } |
| 1034 | |
| 1035 | static std::string lengthExpr(const Field& field, |
| 1036 | const std::vector<Field>& sideFields, |
| 1037 | const std::vector<std::string>& external) { |
| 1038 | if (containsField(sideFields, field.lenRef)) |
| 1039 | return "detail::ByteCount(" + field.lenRef + "())"; |
| 1040 | if (containsName(external, field.lenRef)) return field.lenRef + "_"; |
| 1041 | return "0"; |
| 1042 | } |
| 1043 | |
| 1044 | static std::string offsetExpr(const std::vector<Field>& fields, |
| 1045 | size_t index, |
nothing calls this directly
no outgoing calls
no test coverage detected