(batch *RecordBatch)
| 22 | } |
| 23 | |
| 24 | func newDefaultRecords(batch *RecordBatch) Records { |
| 25 | return Records{recordsType: defaultRecords, RecordBatch: batch} |
| 26 | } |
| 27 | |
| 28 | // setTypeFromFields sets type of Records depending on which of MsgSet or RecordBatch is not nil. |
| 29 | // The first return value indicates whether both fields are nil (and the type is not set). |
no outgoing calls