/** * Constructs a new object id with the given byte code. * * @param raw the byte code to use */ public ObjectId(byte[] raw) { Preconditions.checkArgument(raw.length >= NUM_BYTES, "expected a byte[%s], got byte[%s]", NUM_BYTES, raw.length); this.h1 = readH1(raw); this.h2 = readH2(raw); this.h3 = readH3(raw); }