public void resetPosition ( ) { try { if ( m_daIn != null ) m_daIn . reset ( ) ; else if ( m_baOut != null ) { byte [ ] byInput = m_baOut . toByteArray ( ) ; this . setPhysicalData ( byInput ) ; } super . resetPosition ( ) ; } catch ( IOException ex ) { ex . printStackTrace ( ) ; } }
Set the position to the start for GetXXXX methods .