Modifier | Constructor and Description |
---|---|
private |
ObjectIdSerializer() |
Modifier and Type | Method and Description |
---|---|
static ObjectId |
read(java.io.InputStream in) |
static void |
write(java.io.OutputStream out,
AnyObjectId id) |
public static void write(java.io.OutputStream out, @Nullable AnyObjectId id) throws java.io.IOException
out
- the output streamid
- the object id to serializejava.io.IOException
- the stream writing failed