// delete evt. blob
byte[] data = writeSmallBinary(out, blobVal, state, i);
// replace value instance with value
// backed by resource in blob store and delete temp file
values[i] = InternalValue.create(data);
blobVal.discard();
}
break;
case PropertyType.DOUBLE:
try {
out.writeDouble(val.getDouble());