in src/main/csharp/StreamMessage.cs [669:682]
public void WriteBytes(byte[] value, int offset, int length)
{
InitializeWriting();
try
{
this.dataOut.Write(PrimitiveMap.BYTE_ARRAY_TYPE);
this.dataOut.Write((int) length);
this.dataOut.Write(value, offset, length);
}
catch(IOException e)
{
NMSExceptionSupport.Create(e);
}
}