{
throw new UnsupportedOperationException("Data length " + dataLen + " not supported");
}
short attributes = buf.getShort(pos+AttributesOffset);
short schemaVersion = (short)(attributes >> VERSION_SHIFT);
SchemaDigestType schemaDigestType = digestType(attributes);
int digestLen = digestLen(schemaDigestType);
byte[] digest = new byte[digestLen];
for (int i = 0; i < digestLen; i++)
{
digest[i] = buf.get(pos+AttributesOffset+AttributesLen+i);