public class UnpackedObject extends Object
| Constructor | Description |
|---|---|
UnpackedObject() |
| Modifier and Type | Method | Description |
|---|---|---|
static ObjectLoader |
parse(byte[] raw,
AnyObjectId id) |
Parse an object from the unpacked object format.
|
public static ObjectLoader parse(byte[] raw, AnyObjectId id) throws IOException
raw - complete contents of the compressed object.id - expected ObjectId of the object, used only for error reporting
in exceptions.IOException - the object cannot be parsed.Copyright © 2018. All rights reserved.