Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

819 lines
55 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Cpp2IlInjected;
using Microsoft.Win32.SafeHandles;
namespace System.IO
{
/// <summary>Provides a <see cref="T:System.IO.Stream" /> for a file, supporting both synchronous and asynchronous read and write operations.</summary>
// Token: 0x020002B4 RID: 692
[Token(Token = "0x20002B4")]
[ComVisible(true)]
public class FileStream : Stream
{
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class for the specified file handle, with the specified read/write permission, <see langword="FileStream" /> instance ownership, and buffer size.</summary>
/// <param name="handle">A file handle for the file that this <see langword="FileStream" /> object will encapsulate.</param>
/// <param name="access">A constant that sets the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object.</param>
/// <param name="ownsHandle">
/// <see langword="true" /> if the file handle will be owned by this <see langword="FileStream" /> instance; otherwise, <see langword="false" />.</param>
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="bufferSize" /> is negative.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as a disk error, occurred.
/// -or-
/// The stream has been closed.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified file handle, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file handle is set for read-only access.</exception>
// Token: 0x0600195D RID: 6493 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600195D")]
[Address(RVA = "0x2938D60", Offset = "0x2937B60", VA = "0x182938D60")]
[Obsolete]
public FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize)
{
}
// Token: 0x0600195E RID: 6494 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600195E")]
[Address(RVA = "0x2938FA0", Offset = "0x2937DA0", VA = "0x182938FA0")]
internal FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path and creation mode.</summary>
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
/// <param name="mode">A constant that determines how to open or create the file.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
/// -or-
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
/// -or-
/// The stream has been closed.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="mode" /> contains an invalid value.</exception>
// Token: 0x0600195F RID: 6495 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600195F")]
[Address(RVA = "0x2938F20", Offset = "0x2937D20", VA = "0x182938F20")]
public FileStream(string path, FileMode mode)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, and read/write permission.</summary>
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
/// <param name="mode">A constant that determines how to open or create the file.</param>
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
/// -or-
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
/// -or-
/// The stream has been closed.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="mode" /> contains an invalid value.</exception>
// Token: 0x06001960 RID: 6496 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001960")]
[Address(RVA = "0x2938CD0", Offset = "0x2937AD0", VA = "0x182938CD0")]
public FileStream(string path, FileMode mode, FileAccess access)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write permission, and sharing permission.</summary>
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
/// <param name="mode">A constant that determines how to open or create the file.</param>
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
/// -or-
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
/// -or-
/// The system is running Windows 98 or Windows 98 Second Edition and <paramref name="share" /> is set to <see langword="FileShare.Delete" />.
/// -or-
/// The stream has been closed.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="mode" /> contains an invalid value.</exception>
// Token: 0x06001961 RID: 6497 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001961")]
[Address(RVA = "0x2938F70", Offset = "0x2937D70", VA = "0x182938F70")]
public FileStream(string path, FileMode mode, FileAccess access, FileShare share)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write and sharing permission, and buffer size.</summary>
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
/// <param name="mode">A constant that determines how to open or create the file.</param>
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
/// -or-
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="bufferSize" /> is negative or zero.
/// -or-
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> contain an invalid value.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
/// -or-
/// The system is running Windows 98 or Windows 98 Second Edition and <paramref name="share" /> is set to <see langword="FileShare.Delete" />.
/// -or-
/// The stream has been closed.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
// Token: 0x06001962 RID: 6498 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001962")]
[Address(RVA = "0x2938D20", Offset = "0x2937B20", VA = "0x182938D20")]
public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write and sharing permission, buffer size, and synchronous or asynchronous state.</summary>
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
/// <param name="mode">A constant that determines how to open or create the file.</param>
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
/// <param name="useAsync">Specifies whether to use asynchronous I/O or synchronous I/O. However, note that the underlying operating system might not support asynchronous I/O, so when specifying <see langword="true" />, the handle might be opened synchronously depending on the platform. When opened asynchronously, the <see cref="M:System.IO.FileStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> and <see cref="M:System.IO.FileStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> methods perform better on large reads or writes, but they might be much slower for small reads or writes. If the application is designed to take advantage of asynchronous I/O, set the <paramref name="useAsync" /> parameter to <see langword="true" />. Using asynchronous I/O correctly can speed up applications by as much as a factor of 10, but using it without redesigning the application for asynchronous I/O can decrease performance by as much as a factor of 10.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
/// -or-
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="bufferSize" /> is negative or zero.
/// -or-
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> contain an invalid value.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
/// -or-
/// The system is running Windows 98 or Windows 98 Second Edition and <paramref name="share" /> is set to <see langword="FileShare.Delete" />.
/// -or-
/// The stream has been closed.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
// Token: 0x06001963 RID: 6499 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001963")]
[Address(RVA = "0x2938ED0", Offset = "0x2937CD0", VA = "0x182938ED0")]
public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options.</summary>
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
/// <param name="mode">A constant that determines how to open or create the file.</param>
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
/// <param name="options">A value that specifies additional file options.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
/// -or-
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="bufferSize" /> is negative or zero.
/// -or-
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> contain an invalid value.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
/// -or-
/// The stream has been closed.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.
/// -or-
/// <see cref="F:System.IO.FileOptions.Encrypted" /> is specified for <paramref name="options" />, but file encryption is not supported on the current platform.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
// Token: 0x06001964 RID: 6500 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001964")]
[Address(RVA = "0x29398B0", Offset = "0x29386B0", VA = "0x1829398B0")]
public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
{
}
// Token: 0x06001965 RID: 6501 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001965")]
[Address(RVA = "0x2938CB0", Offset = "0x2937AB0", VA = "0x182938CB0")]
internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, string msgPath, bool bFromProxy, bool useLongPath = false, bool checkHost = false)
{
}
// Token: 0x06001966 RID: 6502 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001966")]
[Address(RVA = "0x2938C50", Offset = "0x2937A50", VA = "0x182938C50")]
internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool isAsync, bool anonymous)
{
}
// Token: 0x06001967 RID: 6503 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001967")]
[Address(RVA = "0x2939110", Offset = "0x2937F10", VA = "0x182939110")]
internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool anonymous, FileOptions options)
{
}
// Token: 0x06001968 RID: 6504 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001968")]
[Address(RVA = "0x2937630", Offset = "0x2936430", VA = "0x182937630")]
private void Init(SafeFileHandle safeHandle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
{
}
/// <summary>Gets a value that indicates whether the current stream supports reading.</summary>
/// <returns>
/// <see langword="true" /> if the stream supports reading; <see langword="false" /> if the stream is closed or was opened with write-only access.</returns>
// Token: 0x17000306 RID: 774
// (get) Token: 0x06001969 RID: 6505 RVA: 0x00010AA0 File Offset: 0x0000ECA0
[Token(Token = "0x17000306")]
public override bool CanRead
{
[Token(Token = "0x6001969")]
[Address(RVA = "0x29398F0", Offset = "0x29386F0", VA = "0x1829398F0", Slot = "7")]
get
{
return default(bool);
}
}
/// <summary>Gets a value that indicates whether the current stream supports writing.</summary>
/// <returns>
/// <see langword="true" /> if the stream supports writing; <see langword="false" /> if the stream is closed or was opened with read-only access.</returns>
// Token: 0x17000307 RID: 775
// (get) Token: 0x0600196A RID: 6506 RVA: 0x00010AB8 File Offset: 0x0000ECB8
[Token(Token = "0x17000307")]
public override bool CanWrite
{
[Token(Token = "0x600196A")]
[Address(RVA = "0x2939900", Offset = "0x2938700", VA = "0x182939900", Slot = "9")]
get
{
return default(bool);
}
}
/// <summary>Gets a value that indicates whether the current stream supports seeking.</summary>
/// <returns>
/// <see langword="true" /> if the stream supports seeking; <see langword="false" /> if the stream is closed or if the <see langword="FileStream" /> was constructed from an operating-system handle such as a pipe or output to the console.</returns>
// Token: 0x17000308 RID: 776
// (get) Token: 0x0600196B RID: 6507 RVA: 0x00010AD0 File Offset: 0x0000ECD0
[Token(Token = "0x17000308")]
public override bool CanSeek
{
[Token(Token = "0x600196B")]
[Address(RVA = "0xD52990", Offset = "0xD51790", VA = "0x180D52990", Slot = "8")]
get
{
return default(bool);
}
}
/// <summary>Gets the length in bytes of the stream.</summary>
/// <returns>A long value representing the length of the stream in bytes.</returns>
/// <exception cref="T:System.NotSupportedException">
/// <see cref="P:System.IO.FileStream.CanSeek" /> for this stream is <see langword="false" />.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error, such as the file being closed, occurred.</exception>
// Token: 0x17000309 RID: 777
// (get) Token: 0x0600196C RID: 6508 RVA: 0x00010AE8 File Offset: 0x0000ECE8
[Token(Token = "0x17000309")]
public override long Length
{
[Token(Token = "0x600196C")]
[Address(RVA = "0x2939920", Offset = "0x2938720", VA = "0x182939920", Slot = "10")]
get
{
return 0L;
}
}
/// <summary>Gets or sets the current position of this stream.</summary>
/// <returns>The current position of this stream.</returns>
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred.
/// -or-
/// The position was set to a very large value beyond the end of the stream in Windows 98 or earlier.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">Attempted to set the position to a negative value.</exception>
/// <exception cref="T:System.IO.EndOfStreamException">Attempted seeking past the end of a stream that does not support this.</exception>
// Token: 0x1700030A RID: 778
// (get) Token: 0x0600196D RID: 6509 RVA: 0x00010B00 File Offset: 0x0000ED00
// (set) Token: 0x0600196E RID: 6510 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700030A")]
public override long Position
{
[Token(Token = "0x600196D")]
[Address(RVA = "0x2939AA0", Offset = "0x29388A0", VA = "0x182939AA0", Slot = "11")]
get
{
return 0L;
}
[Token(Token = "0x600196E")]
[Address(RVA = "0x2939C70", Offset = "0x2938A70", VA = "0x182939C70", Slot = "12")]
set
{
}
}
/// <summary>Gets a <see cref="T:Microsoft.Win32.SafeHandles.SafeFileHandle" /> object that represents the operating system file handle for the file that the current <see cref="T:System.IO.FileStream" /> object encapsulates.</summary>
/// <returns>An object that represents the operating system file handle for the file that the current <see cref="T:System.IO.FileStream" /> object encapsulates.</returns>
// Token: 0x1700030B RID: 779
// (get) Token: 0x0600196F RID: 6511 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700030B")]
public virtual SafeFileHandle SafeFileHandle
{
[Token(Token = "0x600196F")]
[Address(RVA = "0x2939C30", Offset = "0x2938A30", VA = "0x182939C30", Slot = "31")]
get
{
return null;
}
}
// Token: 0x06001970 RID: 6512 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001970")]
[Address(RVA = "0x2936CA0", Offset = "0x2935AA0", VA = "0x182936CA0")]
private void ExposeHandle()
{
}
/// <summary>Reads a byte from the file and advances the read position one byte.</summary>
/// <returns>The byte, cast to an <see cref="T:System.Int32" />, or -1 if the end of the stream has been reached.</returns>
/// <exception cref="T:System.NotSupportedException">The current stream does not support reading.</exception>
/// <exception cref="T:System.ObjectDisposedException">The current stream is closed.</exception>
// Token: 0x06001971 RID: 6513 RVA: 0x00010B18 File Offset: 0x0000ED18
[Token(Token = "0x6001971")]
[Address(RVA = "0x2937940", Offset = "0x2936740", VA = "0x182937940", Slot = "28")]
public override int ReadByte()
{
return 0;
}
/// <summary>Writes a byte to the current position in the file stream.</summary>
/// <param name="value">A byte to write to the stream.</param>
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
// Token: 0x06001972 RID: 6514 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001972")]
[Address(RVA = "0x2938590", Offset = "0x2937390", VA = "0x182938590", Slot = "30")]
public override void WriteByte(byte value)
{
}
/// <summary>Reads a block of bytes from the stream and writes the data in a given buffer.</summary>
/// <param name="array">When this method returns, contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the bytes read from the current source.</param>
/// <param name="offset">The byte offset in <paramref name="array" /> at which the read bytes will be placed.</param>
/// <param name="count">The maximum number of bytes to read.</param>
/// <returns>The total number of bytes read into the buffer. This might be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" /> and <paramref name="count" /> describe an invalid range in <paramref name="array" />.</exception>
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
// Token: 0x06001973 RID: 6515 RVA: 0x00010B30 File Offset: 0x0000ED30
[Token(Token = "0x6001973")]
[Address(RVA = "0x2937D70", Offset = "0x2936B70", VA = "0x182937D70", Slot = "27")]
public override int Read([In] [Out] byte[] array, int offset, int count)
{
return 0;
}
// Token: 0x06001974 RID: 6516 RVA: 0x00010B48 File Offset: 0x0000ED48
[Token(Token = "0x6001974")]
[Address(RVA = "0x2937BE0", Offset = "0x29369E0", VA = "0x182937BE0")]
private int ReadInternal(byte[] dest, int offset, int count)
{
return 0;
}
/// <summary>Begins an asynchronous read operation. Consider using <see cref="M:System.IO.FileStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.</summary>
/// <param name="array">The buffer to read data into.</param>
/// <param name="offset">The byte offset in <paramref name="array" /> at which to begin reading.</param>
/// <param name="numBytes">The maximum number of bytes to read.</param>
/// <param name="userCallback">The method to be called when the asynchronous read operation is completed.</param>
/// <param name="stateObject">A user-provided object that distinguishes this particular asynchronous read request from other requests.</param>
/// <returns>An object that references the asynchronous read.</returns>
/// <exception cref="T:System.ArgumentException">The array length minus <paramref name="offset" /> is less than <paramref name="numBytes" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> or <paramref name="numBytes" /> is negative.</exception>
/// <exception cref="T:System.IO.IOException">An asynchronous read was attempted past the end of the file.</exception>
// Token: 0x06001975 RID: 6517 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001975")]
[Address(RVA = "0x2935FF0", Offset = "0x2934DF0", VA = "0x182935FF0", Slot = "19")]
public override IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
{
return null;
}
/// <summary>Waits for the pending asynchronous read operation to complete. (Consider using <see cref="M:System.IO.FileStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
/// <param name="asyncResult">The reference to the pending asynchronous request to wait for.</param>
/// <returns>The number of bytes read from the stream, between 0 and the number of bytes you requested. Streams only return 0 at the end of the stream, otherwise, they should block until at least 1 byte is available.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">This <see cref="T:System.IAsyncResult" /> object was not created by calling <see cref="M:System.IO.FileStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> on this class.</exception>
/// <exception cref="T:System.InvalidOperationException">
/// <see cref="M:System.IO.FileStream.EndRead(System.IAsyncResult)" /> is called multiple times.</exception>
/// <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
// Token: 0x06001976 RID: 6518 RVA: 0x00010B60 File Offset: 0x0000ED60
[Token(Token = "0x6001976")]
[Address(RVA = "0x2936990", Offset = "0x2935790", VA = "0x182936990", Slot = "20")]
public override int EndRead(IAsyncResult asyncResult)
{
return 0;
}
/// <summary>Writes a block of bytes to the file stream.</summary>
/// <param name="array">The buffer containing data to write to the stream.</param>
/// <param name="offset">The zero-based byte offset in <paramref name="array" /> from which to begin copying bytes to the stream.</param>
/// <param name="count">The maximum number of bytes to write.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" /> and <paramref name="count" /> describe an invalid range in <paramref name="array" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred.
/// -or-
/// Another thread may have caused an unexpected change in the position of the operating system's file handle.</exception>
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
/// <exception cref="T:System.NotSupportedException">The current stream instance does not support writing.</exception>
// Token: 0x06001977 RID: 6519 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001977")]
[Address(RVA = "0x29389B0", Offset = "0x29377B0", VA = "0x1829389B0", Slot = "29")]
public override void Write(byte[] array, int offset, int count)
{
}
// Token: 0x06001978 RID: 6520 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001978")]
[Address(RVA = "0x2938700", Offset = "0x2937500", VA = "0x182938700")]
private void WriteInternal(byte[] src, int offset, int count)
{
}
/// <summary>Begins an asynchronous write operation. Consider using <see cref="M:System.IO.FileStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.</summary>
/// <param name="array">The buffer containing data to write to the current stream.</param>
/// <param name="offset">The zero-based byte offset in <paramref name="array" /> at which to begin copying bytes to the current stream.</param>
/// <param name="numBytes">The maximum number of bytes to write.</param>
/// <param name="userCallback">The method to be called when the asynchronous write operation is completed.</param>
/// <param name="stateObject">A user-provided object that distinguishes this particular asynchronous write request from other requests.</param>
/// <returns>An object that references the asynchronous write.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="array" /> length minus <paramref name="offset" /> is less than <paramref name="numBytes" />.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> or <paramref name="numBytes" /> is negative.</exception>
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
// Token: 0x06001979 RID: 6521 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001979")]
[Address(RVA = "0x29362E0", Offset = "0x29350E0", VA = "0x1829362E0", Slot = "22")]
public override IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
{
return null;
}
/// <summary>Ends an asynchronous write operation and blocks until the I/O operation is complete. (Consider using <see cref="M:System.IO.FileStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
/// <param name="asyncResult">The pending asynchronous I/O request.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">This <see cref="T:System.IAsyncResult" /> object was not created by calling <see cref="M:System.IO.Stream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> on this class.</exception>
/// <exception cref="T:System.InvalidOperationException">
/// <see cref="M:System.IO.FileStream.EndWrite(System.IAsyncResult)" /> is called multiple times.</exception>
/// <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
// Token: 0x0600197A RID: 6522 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600197A")]
[Address(RVA = "0x2936B20", Offset = "0x2935920", VA = "0x182936B20", Slot = "23")]
public override void EndWrite(IAsyncResult asyncResult)
{
}
/// <summary>Sets the current position of this stream to the given value.</summary>
/// <param name="offset">The point relative to <paramref name="origin" /> from which to begin seeking.</param>
/// <param name="origin">Specifies the beginning, the end, or the current position as a reference point for <paramref name="offset" />, using a value of type <see cref="T:System.IO.SeekOrigin" />.</param>
/// <returns>The new position in the stream.</returns>
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking, such as if the <see langword="FileStream" /> is constructed from a pipe or console output.</exception>
/// <exception cref="T:System.ArgumentException">Seeking is attempted before the beginning of the stream.</exception>
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
// Token: 0x0600197B RID: 6523 RVA: 0x00010B78 File Offset: 0x0000ED78
[Token(Token = "0x600197B")]
[Address(RVA = "0x29380C0", Offset = "0x2936EC0", VA = "0x1829380C0", Slot = "25")]
public override long Seek(long offset, SeekOrigin origin)
{
return 0L;
}
/// <summary>Sets the length of this stream to the given value.</summary>
/// <param name="value">The new length of the stream.</param>
/// <exception cref="T:System.IO.IOException">An I/O error has occurred.</exception>
/// <exception cref="T:System.NotSupportedException">The stream does not support both writing and seeking.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">Attempted to set the <paramref name="value" /> parameter to less than 0.</exception>
// Token: 0x0600197C RID: 6524 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600197C")]
[Address(RVA = "0x2938350", Offset = "0x2937150", VA = "0x182938350", Slot = "26")]
public override void SetLength(long value)
{
}
/// <summary>Clears buffers for this stream and causes any buffered data to be written to the file.</summary>
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
// Token: 0x0600197D RID: 6525 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600197D")]
[Address(RVA = "0x29371D0", Offset = "0x2935FD0", VA = "0x1829371D0", Slot = "17")]
public override void Flush()
{
}
/// <summary>Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the <see langword="FileStream" />.</summary>
// Token: 0x0600197E RID: 6526 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600197E")]
[Address(RVA = "0x2936CD0", Offset = "0x2935AD0", VA = "0x182936CD0", Slot = "1")]
protected override void Finalize()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.FileStream" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
// Token: 0x0600197F RID: 6527 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600197F")]
[Address(RVA = "0x2936680", Offset = "0x2935480", VA = "0x182936680", Slot = "16")]
protected override void Dispose(bool disposing)
{
}
/// <summary>Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.</summary>
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
/// <returns>A task that represents the asynchronous flush operation.</returns>
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
// Token: 0x06001980 RID: 6528 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001980")]
[Address(RVA = "0x2936D50", Offset = "0x2935B50", VA = "0x182936D50", Slot = "18")]
public override Task FlushAsync(CancellationToken cancellationToken)
{
return null;
}
/// <summary>Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
/// <param name="buffer">The buffer to write the data into.</param>
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
/// <param name="count">The maximum number of bytes to read.</param>
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
/// <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation.</exception>
// Token: 0x06001981 RID: 6529 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001981")]
[Address(RVA = "0x2937930", Offset = "0x2936730", VA = "0x182937930", Slot = "21")]
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
{
return null;
}
/// <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
/// <param name="buffer">The buffer to write data from.</param>
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
/// <param name="count">The maximum number of bytes to write.</param>
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
/// <returns>A task that represents the asynchronous write operation.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation.</exception>
// Token: 0x06001982 RID: 6530 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001982")]
[Address(RVA = "0x2938580", Offset = "0x2937380", VA = "0x182938580", Slot = "24")]
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
{
return null;
}
// Token: 0x06001983 RID: 6531 RVA: 0x00010B90 File Offset: 0x0000ED90
[Token(Token = "0x6001983")]
[Address(RVA = "0x2937CB0", Offset = "0x2936AB0", VA = "0x182937CB0")]
private int ReadSegment(byte[] dest, int dest_offset, int count)
{
return 0;
}
// Token: 0x06001984 RID: 6532 RVA: 0x00010BA8 File Offset: 0x0000EDA8
[Token(Token = "0x6001984")]
[Address(RVA = "0x2938940", Offset = "0x2937740", VA = "0x182938940")]
private int WriteSegment(byte[] src, int src_offset, int count)
{
return 0;
}
// Token: 0x06001985 RID: 6533 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001985")]
[Address(RVA = "0x2936FE0", Offset = "0x2935DE0", VA = "0x182936FE0")]
private void FlushBuffer()
{
}
// Token: 0x06001986 RID: 6534 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001986")]
[Address(RVA = "0x2936FD0", Offset = "0x2935DD0", VA = "0x182936FD0")]
private void FlushBufferIfDirty()
{
}
// Token: 0x06001987 RID: 6535 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001987")]
[Address(RVA = "0x2938080", Offset = "0x2936E80", VA = "0x182938080")]
private void RefillBuffer()
{
}
// Token: 0x06001988 RID: 6536 RVA: 0x00010BC0 File Offset: 0x0000EDC0
[Token(Token = "0x6001988")]
[Address(RVA = "0x2937AB0", Offset = "0x29368B0", VA = "0x182937AB0")]
private int ReadData(SafeHandle safeHandle, byte[] buf, int offset, int count)
{
return 0;
}
// Token: 0x06001989 RID: 6537 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001989")]
[Address(RVA = "0x29373F0", Offset = "0x29361F0", VA = "0x1829373F0")]
private void InitBuffer(int size, bool isZeroSize)
{
}
// Token: 0x0600198A RID: 6538 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600198A")]
[Address(RVA = "0x2937250", Offset = "0x2936050", VA = "0x182937250")]
private string GetSecureFileName(string filename)
{
return null;
}
// Token: 0x0600198B RID: 6539 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600198B")]
[Address(RVA = "0x2937330", Offset = "0x2936130", VA = "0x182937330")]
private string GetSecureFileName(string filename, bool full)
{
return null;
}
// Token: 0x04000D82 RID: 3458
[Token(Token = "0x4000D82")]
internal const int DefaultBufferSize = 4096;
// Token: 0x04000D83 RID: 3459
[Token(Token = "0x4000D83")]
private static byte[] buf_recycle;
// Token: 0x04000D84 RID: 3460
[Token(Token = "0x4000D84")]
private static readonly object buf_recycle_lock;
// Token: 0x04000D85 RID: 3461
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000D85")]
private byte[] buf;
// Token: 0x04000D86 RID: 3462
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000D86")]
private string name;
// Token: 0x04000D87 RID: 3463
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000D87")]
private SafeFileHandle safeHandle;
// Token: 0x04000D88 RID: 3464
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000D88")]
private bool isExposed;
// Token: 0x04000D89 RID: 3465
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000D89")]
private long append_startpos;
// Token: 0x04000D8A RID: 3466
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000D8A")]
private FileAccess access;
// Token: 0x04000D8B RID: 3467
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
[Token(Token = "0x4000D8B")]
private bool owner;
// Token: 0x04000D8C RID: 3468
[global::Cpp2IlInjected.FieldOffset(Offset = "0x55")]
[Token(Token = "0x4000D8C")]
private bool async;
// Token: 0x04000D8D RID: 3469
[global::Cpp2IlInjected.FieldOffset(Offset = "0x56")]
[Token(Token = "0x4000D8D")]
private bool canseek;
// Token: 0x04000D8E RID: 3470
[global::Cpp2IlInjected.FieldOffset(Offset = "0x57")]
[Token(Token = "0x4000D8E")]
private bool anonymous;
// Token: 0x04000D8F RID: 3471
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000D8F")]
private bool buf_dirty;
// Token: 0x04000D90 RID: 3472
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5C")]
[Token(Token = "0x4000D90")]
private int buf_size;
// Token: 0x04000D91 RID: 3473
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000D91")]
private int buf_length;
// Token: 0x04000D92 RID: 3474
[global::Cpp2IlInjected.FieldOffset(Offset = "0x64")]
[Token(Token = "0x4000D92")]
private int buf_offset;
// Token: 0x04000D93 RID: 3475
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000D93")]
private long buf_start;
// Token: 0x020002B5 RID: 693
// (Invoke) Token: 0x0600198E RID: 6542
[Token(Token = "0x20002B5")]
private delegate int ReadDelegate(byte[] buffer, int offset, int count);
// Token: 0x020002B6 RID: 694
// (Invoke) Token: 0x06001992 RID: 6546
[Token(Token = "0x20002B6")]
private delegate void WriteDelegate(byte[] buffer, int offset, int count);
}
}