public void serialize(LittleEndianOutput out) {futureHeader.serialize(out);out.writeShort(isf_sharedFeatureType);out.writeByte(reserved1);out.writeInt((int)reserved2);out.writeShort(cellRefs.length);out.writeInt((int)cbFeatData);out.writeShort(reserved3);for(int i=0; i<cellRefs.length; i++) {cellRefs[i].serialize(out);}sharedFeature.serialize(out);}
public override void Serialize(ILittleEndianOutput out1){futureHeader.Serialize(out1);out1.WriteShort(isf_sharedFeatureType);out1.WriteByte(reserved1);out1.WriteInt((int)reserved2);out1.WriteShort(cellRefs.Length);out1.WriteInt((int)cbFeatData);out1.WriteShort(reserved3);for (int i = 0; i < cellRefs.Length; i++){cellRefs[i].Serialize(out1);}sharedFeature.Serialize(out1);}