Example #1
0
 /// <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(this.handle, storage.handle));
 }
Example #2
0
 /// <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(this.handle, storage.handle));
 }