src/main/java/org/nustaq/serialization/FSTConfiguration.java
public FSTObjectInput getObjectInput( InputStream in ) {
        FSTObjectInput fstObjectInput = getIn();
        try {
            fstObjectInput.resetForReuse(in);
            return fstObjectInput;
        } catch (IOException e) {
            FSTUtil.<RuntimeException>rethrow(e);
        }
        return null;
    }
public FSTObjectInput getObjectInput( InputStream in ) {
        FSTObjectInput fstObjectInput = getIn();
        try {
            fstObjectInput.resetForReuse(in);
            return fstObjectInput;
        } catch (IOException e) {
            FSTUtil.<RuntimeException>rethrow(e);
        }
        return null;
    }
public FSTObjectInput getObjectInput ( InputStream in ) { FSTObjectInput fstObjectInput = getIn ( ) ; try { fstObjectInput . resetForReuse ( in ) ; return fstObjectInput ; } catch ( IOException e ) { FSTUtil . < RuntimeException > rethrow ( e ) ; } return null ; }
utility for thread safety and reuse. Do not close the resulting stream. However you should close
the given InputStream 'in'
@param in
@return
utility for thread safety and reuse . Do not close the resulting stream . However you should close the given InputStream in