* Serializes this instance into the provided serializer context. * @param {ObjectSerializerContext} context context
({ write })
| 547 | * @param {ObjectSerializerContext} context context |
| 548 | */ |
| 549 | serialize({ write }) { |
| 550 | write(this._flags); |
| 551 | if (this.hasStartTime()) write(this.startTime); |
| 552 | if (this.hasFileTimestamps()) write(this.fileTimestamps); |
| 553 | if (this.hasFileHashes()) write(this.fileHashes); |
| 554 | if (this.hasFileTshs()) write(this.fileTshs); |
| 555 | if (this.hasContextTimestamps()) write(this.contextTimestamps); |
| 556 | if (this.hasContextHashes()) write(this.contextHashes); |
| 557 | if (this.hasContextTshs()) write(this.contextTshs); |
| 558 | if (this.hasMissingExistence()) write(this.missingExistence); |
| 559 | if (this.hasManagedItemInfo()) write(this.managedItemInfo); |
| 560 | if (this.hasManagedFiles()) write(this.managedFiles); |
| 561 | if (this.hasManagedContexts()) write(this.managedContexts); |
| 562 | if (this.hasManagedMissing()) write(this.managedMissing); |
| 563 | if (this.hasChildren()) write(this.children); |
| 564 | } |
| 565 | |
| 566 | /** |
| 567 | * Restores this instance from the provided deserializer context. |
nothing calls this directly
no test coverage detected