from
Generates a new ObjectId using the hexadecimal representation of the 12 bytes.
Parameters
hex String
the string to convert.
Generates a new ObjectId using the provided timestamp.
Parameters
date
timestamp to be used.
Generates a new ObjectId using the unique 12 bytes representation.
Parameters
bytes
to use as backing representation