5556575859606162636465
try { @Cleanup ByteArrayInputStream is = new ByteArrayInputStream(bytes); FSTObjectInput ois = conf.getObjectInput(is); return (T) ois.readObject(); } catch (Exception e) { log.warn("Fail to deserialize bytes.", e); return null; } }