public int WriteTo(IMemoryCore memoryCore, FarPtr ptr) { memoryCore.SetWord(ptr, record_length); memoryCore.SetWord(ptr + 2, page_size); memoryCore.SetWord(ptr + 4, number_of_keys); memoryCore.SetDWord(ptr + 6, number_of_records); memoryCore.SetWord(ptr + 10, flags); memoryCore.SetWord(ptr + 12, reserved); memoryCore.SetWord(ptr + 14, unused_pages); return(16); }
public int WriteTo(IMemoryCore memoryCore, FarPtr ptr) { memoryCore.SetWord(ptr, position); memoryCore.SetWord(ptr + 2, length); memoryCore.SetWord(ptr + 4, flags); memoryCore.SetDWord(ptr + 6, number_of_keys); memoryCore.SetByte(ptr + 10, data_type); memoryCore.SetByte(ptr + 11, null_value); memoryCore.SetWord(ptr + 12, unused); memoryCore.SetByte(ptr + 14, number_only_if_explicit_key_flag_is_set); memoryCore.SetByte(ptr + 15, acs_number); return(16); }