reader.skip(externalPathLength);
} else { // inline, should have data there
reader.skip((int) storageLength);
}
// and finally, should all add up...
int left = reader.left();
if (left > 0) {
throw new IllegalArgumentException("Had "+left+" bytes left after decoding entry (out of "
+raw.length+")");
}
return new Storable(key, ByteContainer.simple(raw, offset, length),