Stream « File Stream « C# / C Sharp
C# / C Sharp
Collections Data Structure
GUI Windows Form
Windows Presentation Foundation
C# / C Sharp
Stream.CanRead indicates whether the current stream supports reading.
Stream.CanWrite Property indicates whether the current stream supports writing.
Stream.CopyTo reads all the bytes from the current stream and writes them to the destination stream.
Stream.Read reads a sequence of bytes and advances the position
Create StreamWriter class for the specified stream, using the specified encoding and the default buffer size.
Create StreamWriter from FileStream
Create StreamWriter with encoding
Create StreamWriter from file name
UTF8 encoding StreamWriter
Create UTF8 encoding StreamWriter from File name
Set StreamWriter buffer size
Writes a subarray of characters to the stream.
Create a new instance of the StreamReader class for the specified stream.
Gets the current character encoding that the current StreamReader object is using.
Returns the next available character but does not consume it.
Reads a maximum of count characters from the current stream into buffer, beginning at index.
Reads the next character from the input stream and advances the character position by one character.
Read a single character
Reads a line of characters from the current stream and returns the data as a string.
Reads the stream from the current position to the end of the stream.
Copy one Stream to another Stream
Outputs data from a read stream to a newly created file
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.