private DataInput getDataInput() {
    // changed this to use ByteBufferInputStream to give us better
    // test coverage of this class.
    ByteBuffer bb = ByteBuffer.wrap(baos.toByteArray());
    return new ByteBufferInputStream(bb);
  }
Returns a <code>DataInput</code> to read from
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java