}
private void setInfoValues()
{
ByteArrayInputStream bary_ins;
MixedDataInputStream data_ins;
this.setInfoValueTypes();
if ( infobuffer == null ) {
if ( infovals != null && infovals.length > 0 ) {
// Null infobuffer byte[] but Non-Null infovals[]
this.addErrMsg(
"Missing user byte[] but Non-empty format chars!" );
}
// Since infobuffer byte[] is null, can't set infovals[], exit.
return;
}
if ( infovals != null ) {
bary_ins = new ByteArrayInputStream( this.infobuffer );
data_ins = new MixedDataInputStream( bary_ins );
try {
for ( int idx = 0; idx < infovals.length; idx++ )
infovals[ idx ].readValue( data_ins );
data_ins.close();
bary_ins.close();
} catch ( java.io.IOException ioerr ) {
ioerr.printStackTrace();
System.exit( 1 );
}