Modifier and Type | Method and Description |
---|---|
static ObjectId |
read(InputStream in) |
static void |
write(OutputStream out,
AnyObjectId id) |
public static void write(OutputStream out, @Nullable AnyObjectId id) throws IOException
out
- the output streamid
- the object id to serializeIOException
- the stream writing failed@Nullable public static ObjectId read(InputStream in) throws IOException
in
- the input streamIOException
- there was an error reading the streamCopyright © 2018 Eclipse JGit Project. All rights reserved.