@Override
      public boolean toData(Object o, DataOutput out) throws IOException {
        Double value = (Double) o;
        out.writeByte(DSCODE.DOUBLE.toByte());
        writeDouble(value, out);
        return true;
      }
Initializes the optional serialization "accept list" if the user has requested it in the
DistributionConfig

@param config the DistributedSystem configuration
@param services SanctionedSerializablesService that might have classes to acceptlist
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java