Method Write
Write(Boolean)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | Object to write |
Write(Byte)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(byte value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | value | Object to write |
Write(Char)
Writes ch
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(char ch)
Parameters
Type | Name | Description |
---|---|---|
System.Char | ch | Object to write |
Write(Int16)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(short value)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | value | Object to write |
Write(Int32)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Object to write |
Write(Int64)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | Object to write |
Write(Decimal)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(decimal value)
Parameters
Type | Name | Description |
---|---|---|
System.Decimal | value | Object to write |
Write(Single)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(float value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value | Object to write |
Write(Double)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | Object to write |
Write(DateTime)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value | Object to write |
Write(Guid)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(Guid value)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | value | Object to write |
Write(Byte[])
Writes buffer
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(byte[] buffer)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | Object to write |
Write(Char[])
Writes chars
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(char[] chars)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | chars | Object to write |
Write(String)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Object to write |
Write(Byte[], Int32, Int32)
Writes buffer
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(byte[] buffer, int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | buffer to write |
System.Int32 | index | starting position in the buffer |
System.Int32 | count | number of bytes to write |
Write(Char[], Int32, Int32)
Writes chars
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
public abstract void Write(char[] chars, int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | chars | buffer to write |
System.Int32 | index | starting position in the buffer |
System.Int32 | count | number of bytes to write |
Write(SByte)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(sbyte value)
Parameters
Type | Name | Description |
---|---|---|
System.SByte | value | Object to write |
Write(UInt16)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(ushort value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | value | Object to write |
Write(UInt32)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(uint value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | value | Object to write |
Write(UInt64)
Writes value
to the current stream and advances the stream position.
This method writes directly to the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual void Write(ulong value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | value | Object to write |