public override void write(Object obj1, BOutput bout1, long version) { BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; byte[] arr = (byte[])obj1; // lengths int n0 = arr.GetLength(0); bbuf.putLength(n0); // write bbuf.putArrayByte(arr); }