Class FileStreamImpl
Inheritance
System.Object
FileStreamImpl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.System2_Plugs.dll
Syntax
public class FileStreamImpl
Methods
|
Improve this Doc
View Source
CCtor()
Declaration
public static void CCtor()
|
Improve this Doc
View Source
Ctor(FileStream, String, FileMode, FileAccess, FileShare, Int32, FileOptions, ref Stream)
Declaration
public static void Ctor(FileStream aThis, string aPathname, FileMode aMode, FileAccess access, FileShare share, int bufferSize, FileOptions options, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.String |
aPathname |
|
System.IO.FileMode |
aMode |
|
System.IO.FileAccess |
access |
|
System.IO.FileShare |
share |
|
System.Int32 |
bufferSize |
|
System.IO.FileOptions |
options |
|
System.IO.Stream |
innerStream |
|
|
Improve this Doc
View Source
Ctor(FileStream, String, FileMode, ref Stream)
Declaration
public static void Ctor(FileStream aThis, string aPathname, FileMode aMode, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.String |
aPathname |
|
System.IO.FileMode |
aMode |
|
System.IO.Stream |
innerStream |
|
|
Improve this Doc
View Source
Dispose(FileStream, Boolean, ref Stream)
Declaration
public static void Dispose(FileStream aThis, bool disposing, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.Boolean |
disposing |
|
System.IO.Stream |
innerStream |
|
|
Improve this Doc
View Source
Flush(FileStream, ref Stream)
Declaration
public static void Flush(FileStream aThis, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
|
Improve this Doc
View Source
get_CanRead(FileStream, ref Stream)
Declaration
public static bool get_CanRead(FileStream aThis, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
get_CanSeek(FileStream, ref Stream)
Declaration
public static bool get_CanSeek(FileStream aThis, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
get_CanWrite(FileStream, ref Stream)
Declaration
public static bool get_CanWrite(FileStream aThis, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
get_Length(FileStream, ref Stream)
Declaration
public static long get_Length(FileStream aThis, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
get_Position(FileStream, ref Stream)
Declaration
public static long get_Position(FileStream aThis, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Read(FileStream, Byte[], Int32, Int32, ref Stream)
Declaration
public static int Read(FileStream aThis, byte[] aBuffer, int aOffset, int aCount, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.Byte[] |
aBuffer |
|
System.Int32 |
aOffset |
|
System.Int32 |
aCount |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Read(FileStream, Span<Byte>, ref Stream)
Declaration
public static int Read(FileStream aThis, Span<byte> aBuffer, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.Span<System.Byte> |
aBuffer |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ReadByte(FileStream, ref Stream)
Declaration
public static int ReadByte(FileStream aThis, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Seek(FileStream, ref Stream, Int64, SeekOrigin)
Declaration
public static long Seek(FileStream aThis, ref Stream innerStream, long offset, SeekOrigin origin)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
System.Int64 |
offset |
|
System.IO.SeekOrigin |
origin |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
set_Position(FileStream, ref Stream, Int64)
Declaration
public static void set_Position(FileStream aThis, ref Stream innerStream, long value)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.IO.Stream |
innerStream |
|
System.Int64 |
value |
|
|
Improve this Doc
View Source
SetLength(FileStream, Int64, ref Stream)
Declaration
public static void SetLength(FileStream aThis, long aLength, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.Int64 |
aLength |
|
System.IO.Stream |
innerStream |
|
|
Improve this Doc
View Source
Write(FileStream, Byte[], Int32, Int32, ref Stream)
Declaration
public static void Write(FileStream aThis, byte[] aBuffer, int aOffset, int aCount, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.Byte[] |
aBuffer |
|
System.Int32 |
aOffset |
|
System.Int32 |
aCount |
|
System.IO.Stream |
innerStream |
|
|
Improve this Doc
View Source
Write(FileStream, ReadOnlySpan<Byte>, ref Stream)
Declaration
public static void Write(FileStream aThis, ReadOnlySpan<byte> aBuffer, ref Stream innerStream)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.ReadOnlySpan<System.Byte> |
aBuffer |
|
System.IO.Stream |
innerStream |
|
|
Improve this Doc
View Source
WriteByte(FileStream, Byte)
Declaration
public static void WriteByte(FileStream aThis, byte aByte)
Parameters
Type |
Name |
Description |
System.IO.FileStream |
aThis |
|
System.Byte |
aByte |
|