[HideModuleNameAttribute]
public sealed class FileStreamExtensions
<ExtensionAttribute>
<HideModuleNameAttribute>
Public NotInheritable Class FileStreamExtensions
Dim instance As FileStreamExtensions
[ExtensionAttribute]
[HideModuleNameAttribute]
public ref class FileStreamExtensions sealed
[<SealedAttribute>]
[<ExtensionAttribute>]
[<HideModuleNameAttribute>]
type FileStreamExtensions = class end
No code example is currently available or this language may not be supported.
CopyTo | Reads the specified amount of bytes from the source FileStream and writes them to another Stream. |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Equals(FileStream, FileStream) | Determine whether two FileStream are equal by doing a byte-by-byte comparison. |
EqualsAsync | Asynchronously determine whether two FileStream are equal by doing a byte-by-byte comparison. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
IndexOf(FileStream, Byte, Int64) | Searches for the specified byte pattern within the source FileStream, and returns the zero-based index of the first occurrence. |
IndexOf(FileStream, Byte, Int64, Int64) | Searches for the specified byte pattern within the source FileStream, and returns the zero-based index of the first occurrence. |
ReadToEnd(FileStream) | Reads all characters from the current position to the end of the FileStream. |
ReadToEnd(FileStream, Int64) | Reads all characters from the current position to the end of the FileStream. |
ReadToEnd(FileStream, Encoding) | Reads all characters from the current position to the end of the FileStream. |
ReadToEnd(FileStream, Encoding, Int64) | Reads all characters from the specified position to the end of the FileStream. |
ReadUntilFirstNullByte(FileStream) | Reads the bytes of the specified FileStream until the first null (zero) byte is found, or until the end, in case of a null byte is not found. |
ReadUntilFirstNullByte(FileStream, Int64) | Reads the bytes of the specified FileStream until the first null (zero) byte is found, or until the end, in case of a null byte is not found. |
ReadUntilFirstNullByte(FileStream, Encoding) | Reads the bytes of the specified FileStream until the first null (zero) byte is found, or until the end, in case of a null byte is not found; and then converts the bytes read to a string representation using the specified text encoding. |
ReadUntilFirstNullByte(FileStream, Int64, Int64) | Reads the bytes of the specified FileStream until the first null (zero) byte is found, or until the end, in case of a null byte is not found. |
ReadUntilFirstNullByte(FileStream, Int64, Encoding) | Reads the bytes of the specified FileStream until the first null (zero) byte is found, or until the end, in case of a null byte is not found; and then converts the bytes read to a string representation using the specified text encoding. |
ReadUntilFirstNullByte(FileStream, Int64, Int64, Encoding) | Reads the bytes of the specified FileStream until the first null (zero) byte is found, or until the end, in case of a null byte is not found; and then converts the bytes read to a string representation using the specified text encoding. |
SeekToBegin | Sets the position to the beginning of the source stream. |
SeekToEnd | Sets the position to the end of the source stream. |
ToArray | Writes the FileStream content to a Byte array. |
ToMemoryStream | Converts a FileStream to a MemoryStream. |
ToStream | Converts a FileStream to a Stream. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |