예제 #1
0
        } // Save

        internal static ConstantUInt16ArrayHandle AsHandle(ConstantUInt16Array record)
        {
            if (record == null)
            {
                return new ConstantUInt16ArrayHandle(0);
            }
            else
            {
                return record.Handle;
            }
        } // AsHandle
예제 #2
0
        } // Write

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