Method ToByteArray
ToByteArray()
Converts the ObjectId to a byte array.
public byte[] ToByteArray()
Returns
- byte[]
A byte array.
ToByteArray(byte[], int)
Converts the ObjectId to a byte array.
public void ToByteArray(byte[] destination, int offset)