} // Save

        internal static ConstantUInt64ArrayHandle AsHandle(ConstantUInt64Array record)
        {
            if (record == null)
            {
                return new ConstantUInt64ArrayHandle(0);
            }
            else
            {
                return record.Handle;
            }
        } // AsHandle
        } // Write

        public static void Write(this NativeWriter writer, ConstantUInt64Array record)
        {
            if (record != null)
                writer.WriteUnsigned((uint)record.Handle.Offset);
            else
                writer.WriteUnsigned(0);
        } // Write