ObjectId.fromValues constructor
Creates ObjectId from provided values.
ObjectId structure:
4 byte timestamp 5 byte process unique 3 byte counter
|<----------------->|<---------------------->|<------------>|
|----|----|----|----|----|----|----|----|----|----|----|----|
0 4 8 12
Implementation
ObjectId.fromValues(
int millisecondsSinceEpoch,
int processUnique,
int counter,
) {
_initialize(
millisecondsSinceEpoch,
processUnique.toProcessUniqueBytes(),
counter,
);
}