question: public static Object objectFromByteBuffer ( byte [ ] buffer ) throws Exception { if ( buffer == null ) return null ; ByteArrayInputStream inStream = new ByteArrayInputStream ( buffer ) ; ObjectInputStream in = new ObjectInputStreamExt ( inStream ) ; Object retval = in . readObject ( ) ; in . close ( ) ; return retval ; }
target:  Creates an object from a byte buffer.