public void WriteInt64( long value ) { InitializeWriting(); try { dataOut.Write( value ); } catch(Exception e) { throw NMSExceptionSupport.Create(e); } }
public void TestGetBodyLength() { ActiveMQBytesMessage msg = new ActiveMQBytesMessage(); int len = 10; for(int i = 0; i < len; i++) { msg.WriteInt64(5L); } msg.Reset(); Assert.IsTrue(msg.BodyLength == (len * 8)); }