public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BBufferBin bbuf = bin.bbuf; // lengths int n0 = bbuf.getLength(); // create array byte[] arr = new byte[n0]; // read bbuf.getArrayByte(arr); return(arr); }