Could you provide some guidance on how to implement it. I'm currently doing the following:
kryo.register(JSONObject.class, new BlowfishCompressor(kryo.newSerializer(JSONObject.class), key, WRITE_BUFFER_SIZE));
kryo.register(String[].class, new BlowfishCompressor(kryo.newSerializer(String[].class), key, WRITE_BUFFER_SIZE));
However, the newest version has changed - it's now BlowfishSerializer and also the way to register classes has changed. Anyhow, I may not have done it correctly before either. What's your advice on how to implement it? Is there some way to add it as a default serializer for all objects.
What version of the product are you using? On what operating system?
Currently 1.04 (above code). Would like to upgrade to the latest version.
Please provide any additional information below.
Thanks for an awesome product!
From greatf...@greatfire.org on June 19, 2012 10:53:21
Could you provide some guidance on how to implement it. I'm currently doing the following:
kryo.register(JSONObject.class, new BlowfishCompressor(kryo.newSerializer(JSONObject.class), key, WRITE_BUFFER_SIZE)); kryo.register(String[].class, new BlowfishCompressor(kryo.newSerializer(String[].class), key, WRITE_BUFFER_SIZE));
However, the newest version has changed - it's now BlowfishSerializer and also the way to register classes has changed. Anyhow, I may not have done it correctly before either. What's your advice on how to implement it? Is there some way to add it as a default serializer for all objects.
What version of the product are you using? On what operating system? Currently 1.04 (above code). Would like to upgrade to the latest version. Please provide any additional information below. Thanks for an awesome product!
Original issue: http://code.google.com/p/kryonet/issues/detail?id=23