static final public Object deserialize(final byte[] b,final int off,final int len){
  final ByteArrayInputStream bais=new ByteArrayInputStream(b,off,len);
  try {
    final ObjectInputStream ois=new ObjectInputStream(bais);
    return ois.readObject();
  }
 catch (  Exception ex) {
    throw new RuntimeException("off=" + off + ", len="+ len,ex);
  }
}

static final public Object deserialize ( final byte [ ] b , final int off , final int len ) { final ByteArrayInputStream bais = new ByteArrayInputStream ( b , off , len ) ; try { final ObjectInputStream ois = new ObjectInputStream ( bais ) ; return ois . readObject ( ) ; } catch ( Exception ex ) { throw new RuntimeException ( "off=" + off + ", len=" + len , ex ) ; } }
de - serialize an object using the java serialization mechanisms .
