(typeID TypeId)
| 32 | ) |
| 33 | |
| 34 | func needsElemTypeInfo(typeID TypeId) bool { |
| 35 | switch typeID { |
| 36 | case STRUCT, COMPATIBLE_STRUCT, NAMED_STRUCT, NAMED_COMPATIBLE_STRUCT, EXT, NAMED_EXT: |
| 37 | return true |
| 38 | default: |
| 39 | return false |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | // writeSliceRefAndType handles reference and type writing for slice serializers. |
| 44 | // Returns true if the value was already written (nil or ref), false if data should be written. |
no outgoing calls
no test coverage detected