contentType = Text.readString(in);
metadata.readFields(in);
break;
default:
throw new VersionMismatchException((byte)VERSION, (byte)version);
}
} else { // size
byte[] compressed = new byte[sizeOrVersion];
in.readFully(compressed, 0, compressed.length);
ByteArrayInputStream deflated = new ByteArrayInputStream(compressed);