Ejemplo n.º 1
0
 public override void Write(byte [] buffer, int offset, int count)
 {
     _javaObjectOutput.write(vmw.common.TypeUtils.ToSByteArray(buffer), offset, count);
 }
Ejemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
        public override void WriteExternal(ObjectOutput @out)
        {
            // NOTE: This was changed from writing only a byte in 2.2, which doesn't work
            @out.writeInt(_len);
            @out.write(_buf, 0, _len);
        }