in src/main/csharp/BytesMessage.cs [338:353]
public int ReadBytes(byte[] value, int length)
{
InitializeReading();
try
{
return dataIn.Read(value, 0, length);
}
catch(EndOfStreamException e)
{
throw NMSExceptionSupport.CreateMessageEOFException(e);
}
catch(IOException e)
{
throw NMSExceptionSupport.CreateMessageFormatException(e);
}
}