/// <summary> /// Write chars to the file from the given storage. /// </summary> /// <param name="storage">A storage object fetch data from.</param> /// <returns>The number of chars written.</returns> public long WriteChars(MemoryFile.CharStorage storage) { return(THFile_writeChar(handle, storage.handle)); }
/// <summary> /// Read chars from the file into the given storage. /// </summary> /// <param name="storage">A storage object to read data into.</param> /// <returns>The number of chars read.</returns> public long ReadChars(MemoryFile.CharStorage storage) { return(THFile_readChar(handle, storage.handle)); }