public int ReadBytes( byte[] value )
{
InitializeReading();
try
{
return dataIn.Read( value, 0, value.Length );
}
catch(EndOfStreamException e)
{
throw NMSExceptionSupport.CreateMessageEOFException(e);
}
catch(IOException e)
{
throw NMSExceptionSupport.CreateMessageFormatException(e);
}
}