ReadAndValidateTypeId reads type ID and validates it matches expected
(expected TypeId)
| 244 | |
| 245 | // ReadAndValidateTypeId reads type ID and validates it matches expected |
| 246 | func (c *ReadContext) ReadAndValidateTypeId(expected TypeId) { |
| 247 | actual := c.ReadTypeId() |
| 248 | if actual != expected { |
| 249 | c.SetError(TypeMismatchError(actual, expected)) |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | // ReadCollectionLength reads a length value for collections. |
| 254 | func (c *ReadContext) ReadCollectionLength() int { |
nothing calls this directly
no test coverage detected