Editar

Compartir a través de


BinaryTokenStreamWriter.Write Method

Definition

Overloads

Write(IPAddress)

Write a IPAddress value to the stream.

Write(IPEndPoint)

Write a IPEndPoint value to the stream.

Write(SByte)

Write a sbyte value to the stream.

Write(SByte[])

Write a sbyte[] value to the stream.

Write(Single)

Write a float value to the stream.

Write(Single[])

Write a float[] value to the stream.

Write(String)

Write a string value to the stream.

Write(UInt16[])

Write a UInt16[] value to the stream.

Write(UInt16)

Write a UInt16 value to the stream.

Write(Int64[])

Write a Int64[] value to the stream.

Write(UInt32)

Write a UInt32 value to the stream.

Write(UInt32[])

Write a UInt32[] value to the stream.

Write(UInt64)

Write a UInt64 value to the stream.

Write(UInt64[])

Write a UInt64[] value to the stream.

Write(Byte[], Int32, Int32)

Write the specified number of bytes to the stream, starting at the specified offset in the input byte[].

Write(TimeSpan)

Write a TimeSpan value to the stream.

Write(Int64)

Write an Int64 value to the stream.

Write(Int16[])

Write a Int16[] value to the stream.

Write(Int32)

Write an Int32 value to the stream.

Write(SiloAddress)

Write a SiloAddress value to the stream.

Write(Boolean)

Write a bool value to the stream.

Write(Boolean[])

Write a bool[] value to the stream.

Write(Byte)

Write a byte value to the stream.

Write(Byte[])

Write a byte[] value to the stream.

Write(Char)

Write a char value to the stream.

Write(Char[])

Write a char[] value to the stream.

Write(List<ArraySegment<Byte>>)

Write a list of byte array segments to the stream.

Write(DateTime)

Write a DataTime value to the stream.

Write(Decimal)

Write a decimal value to the stream.

Write(Double)

Write a double value to the stream.

Write(Double[])

Write a double[] value to the stream.

Write(Guid)

Write a Guid value to the stream.

Write(Int16)

Write an Int16 value to the stream.

Write(Int32[])

Write a Int32[] value to the stream.

Write(IPAddress)

Source:
BinaryTokenStreamWriter.cs

Write a IPAddress value to the stream.

public void Write (System.Net.IPAddress ip);
member this.Write : System.Net.IPAddress -> unit
abstract member Write : System.Net.IPAddress -> unit
override this.Write : System.Net.IPAddress -> unit
Public Sub Write (ip As IPAddress)

Parameters

Implements

Applies to

Write(IPEndPoint)

Source:
BinaryTokenStreamWriter.cs

Write a IPEndPoint value to the stream.

public void Write (System.Net.IPEndPoint ep);
member this.Write : System.Net.IPEndPoint -> unit
abstract member Write : System.Net.IPEndPoint -> unit
override this.Write : System.Net.IPEndPoint -> unit
Public Sub Write (ep As IPEndPoint)

Parameters

Implements

Applies to

Write(SByte)

Source:
BinaryTokenStreamWriter.cs

Write a sbyte value to the stream.

public void Write (sbyte b);
member this.Write : sbyte -> unit
abstract member Write : sbyte -> unit
override this.Write : sbyte -> unit
Public Sub Write (b As SByte)

Parameters

b
SByte

Implements

Applies to

Write(SByte[])

Source:
BinaryTokenStreamWriter.cs

Write a sbyte[] value to the stream.

public void Write (sbyte[] l);
member this.Write : sbyte[] -> unit
abstract member Write : sbyte[] -> unit
override this.Write : sbyte[] -> unit
Public Sub Write (l As SByte())

Parameters

l
SByte[]

Implements

Applies to

Write(Single)

Source:
BinaryTokenStreamWriter.cs

Write a float value to the stream.

public void Write (float f);
member this.Write : single -> unit
abstract member Write : single -> unit
override this.Write : single -> unit
Public Sub Write (f As Single)

Parameters

f
Single

Implements

Applies to

Write(Single[])

Source:
BinaryTokenStreamWriter.cs

Write a float[] value to the stream.

public void Write (float[] f);
member this.Write : single[] -> unit
abstract member Write : single[] -> unit
override this.Write : single[] -> unit
Public Sub Write (f As Single())

Parameters

f
Single[]

Implements

Applies to

Write(String)

Source:
BinaryTokenStreamWriter.cs

Write a string value to the stream.

public void Write (string s);
member this.Write : string -> unit
abstract member Write : string -> unit
override this.Write : string -> unit
Public Sub Write (s As String)

Parameters

s
String

Implements

Applies to

Write(UInt16[])

Source:
BinaryTokenStreamWriter.cs

Write a UInt16[] value to the stream.

public void Write (ushort[] i);
member this.Write : uint16[] -> unit
abstract member Write : uint16[] -> unit
override this.Write : uint16[] -> unit
Public Sub Write (i As UShort())

Parameters

i
UInt16[]

Implements

Applies to

Write(UInt16)

Source:
BinaryTokenStreamWriter.cs

Write a UInt16 value to the stream.

public void Write (ushort u);
member this.Write : uint16 -> unit
abstract member Write : uint16 -> unit
override this.Write : uint16 -> unit
Public Sub Write (u As UShort)

Parameters

u
UInt16

Implements

Applies to

Write(Int64[])

Source:
BinaryTokenStreamWriter.cs

Write a Int64[] value to the stream.

public void Write (long[] l);
member this.Write : int64[] -> unit
abstract member Write : int64[] -> unit
override this.Write : int64[] -> unit
Public Sub Write (l As Long())

Parameters

l
Int64[]

Implements

Applies to

Write(UInt32)

Source:
BinaryTokenStreamWriter.cs

Write a UInt32 value to the stream.

public void Write (uint u);
member this.Write : uint32 -> unit
abstract member Write : uint32 -> unit
override this.Write : uint32 -> unit
Public Sub Write (u As UInteger)

Parameters

u
UInt32

Implements

Applies to

Write(UInt32[])

Source:
BinaryTokenStreamWriter.cs

Write a UInt32[] value to the stream.

public void Write (uint[] i);
member this.Write : uint32[] -> unit
abstract member Write : uint32[] -> unit
override this.Write : uint32[] -> unit
Public Sub Write (i As UInteger())

Parameters

i
UInt32[]

Implements

Applies to

Write(UInt64)

Source:
BinaryTokenStreamWriter.cs

Write a UInt64 value to the stream.

public void Write (ulong u);
member this.Write : uint64 -> unit
abstract member Write : uint64 -> unit
override this.Write : uint64 -> unit
Public Sub Write (u As ULong)

Parameters

u
UInt64

Implements

Applies to

Write(UInt64[])

Source:
BinaryTokenStreamWriter.cs

Write a UInt64[] value to the stream.

public void Write (ulong[] l);
member this.Write : uint64[] -> unit
abstract member Write : uint64[] -> unit
override this.Write : uint64[] -> unit
Public Sub Write (l As ULong())

Parameters

l
UInt64[]

Implements

Applies to

Write(Byte[], Int32, Int32)

Source:
BinaryTokenStreamWriter.cs

Write the specified number of bytes to the stream, starting at the specified offset in the input byte[].

public void Write (byte[] b, int offset, int count);
member this.Write : byte[] * int * int -> unit
abstract member Write : byte[] * int * int -> unit
override this.Write : byte[] * int * int -> unit
Public Sub Write (b As Byte(), offset As Integer, count As Integer)

Parameters

b
Byte[]

The input data to be written.

offset
Int32

The offset into the inout byte[] to start writing bytes from.

count
Int32

The number of bytes to be written.

Implements

Applies to

Write(TimeSpan)

Source:
BinaryTokenStreamWriter.cs

Write a TimeSpan value to the stream.

public void Write (TimeSpan ts);
member this.Write : TimeSpan -> unit
abstract member Write : TimeSpan -> unit
override this.Write : TimeSpan -> unit
Public Sub Write (ts As TimeSpan)

Parameters

Implements

Applies to

Write(Int64)

Source:
BinaryTokenStreamWriter.cs

Write an Int64 value to the stream.

public void Write (long l);
member this.Write : int64 -> unit
abstract member Write : int64 -> unit
override this.Write : int64 -> unit
Public Sub Write (l As Long)

Parameters

l
Int64

Implements

Applies to

Write(Int16[])

Source:
BinaryTokenStreamWriter.cs

Write a Int16[] value to the stream.

public void Write (short[] i);
member this.Write : int16[] -> unit
abstract member Write : int16[] -> unit
override this.Write : int16[] -> unit
Public Sub Write (i As Short())

Parameters

i
Int16[]

Implements

Applies to

Write(Int32)

Source:
BinaryTokenStreamWriter.cs

Write an Int32 value to the stream.

public void Write (int i);
member this.Write : int -> unit
abstract member Write : int -> unit
override this.Write : int -> unit
Public Sub Write (i As Integer)

Parameters

i
Int32

Implements

Applies to

Write(SiloAddress)

Source:
BinaryTokenStreamWriter.cs

Write a SiloAddress value to the stream.

public void Write (Orleans.Runtime.SiloAddress addr);
member this.Write : Orleans.Runtime.SiloAddress -> unit
abstract member Write : Orleans.Runtime.SiloAddress -> unit
override this.Write : Orleans.Runtime.SiloAddress -> unit
Public Sub Write (addr As SiloAddress)

Parameters

Implements

Applies to

Write(Boolean)

Source:
BinaryTokenStreamWriter.cs

Write a bool value to the stream.

public void Write (bool b);
member this.Write : bool -> unit
abstract member Write : bool -> unit
override this.Write : bool -> unit
Public Sub Write (b As Boolean)

Parameters

Implements

Applies to

Write(Boolean[])

Source:
BinaryTokenStreamWriter.cs

Write a bool[] value to the stream.

public void Write (bool[] l);
member this.Write : bool[] -> unit
abstract member Write : bool[] -> unit
override this.Write : bool[] -> unit
Public Sub Write (l As Boolean())

Parameters

l
Boolean[]

Implements

Applies to

Write(Byte)

Source:
BinaryTokenStreamWriter.cs

Write a byte value to the stream.

public void Write (byte b);
member this.Write : byte -> unit
abstract member Write : byte -> unit
override this.Write : byte -> unit
Public Sub Write (b As Byte)

Parameters

b
Byte

Implements

Applies to

Write(Byte[])

Source:
BinaryTokenStreamWriter.cs

Write a byte[] value to the stream.

public void Write (byte[] b);
member this.Write : byte[] -> unit
abstract member Write : byte[] -> unit
override this.Write : byte[] -> unit
Public Sub Write (b As Byte())

Parameters

b
Byte[]

Implements

Applies to

Write(Char)

Source:
BinaryTokenStreamWriter.cs

Write a char value to the stream.

public void Write (char c);
member this.Write : char -> unit
abstract member Write : char -> unit
override this.Write : char -> unit
Public Sub Write (c As Char)

Parameters

c
Char

Implements

Applies to

Write(Char[])

Source:
BinaryTokenStreamWriter.cs

Write a char[] value to the stream.

public void Write (char[] l);
member this.Write : char[] -> unit
abstract member Write : char[] -> unit
override this.Write : char[] -> unit
Public Sub Write (l As Char())

Parameters

l
Char[]

Implements

Applies to

Write(List<ArraySegment<Byte>>)

Source:
BinaryTokenStreamWriter.cs

Write a list of byte array segments to the stream.

public void Write (System.Collections.Generic.List<ArraySegment<byte>> bytes);
member this.Write : System.Collections.Generic.List<ArraySegment<byte>> -> unit
abstract member Write : System.Collections.Generic.List<ArraySegment<byte>> -> unit
override this.Write : System.Collections.Generic.List<ArraySegment<byte>> -> unit
Public Sub Write (bytes As List(Of ArraySegment(Of Byte)))

Parameters

Implements

Applies to

Write(DateTime)

Source:
BinaryTokenStreamWriter.cs

Write a DataTime value to the stream.

public void Write (DateTime dt);
member this.Write : DateTime -> unit
abstract member Write : DateTime -> unit
override this.Write : DateTime -> unit
Public Sub Write (dt As DateTime)

Parameters

Implements

Applies to

Write(Decimal)

Source:
BinaryTokenStreamWriter.cs

Write a decimal value to the stream.

public void Write (decimal d);
member this.Write : decimal -> unit
abstract member Write : decimal -> unit
override this.Write : decimal -> unit
Public Sub Write (d As Decimal)

Parameters

Implements

Applies to

Write(Double)

Source:
BinaryTokenStreamWriter.cs

Write a double value to the stream.

public void Write (double d);
member this.Write : double -> unit
abstract member Write : double -> unit
override this.Write : double -> unit
Public Sub Write (d As Double)

Parameters

d
Double

Implements

Applies to

Write(Double[])

Source:
BinaryTokenStreamWriter.cs

Write a double[] value to the stream.

public void Write (double[] d);
member this.Write : double[] -> unit
abstract member Write : double[] -> unit
override this.Write : double[] -> unit
Public Sub Write (d As Double())

Parameters

d
Double[]

Implements

Applies to

Write(Guid)

Source:
BinaryTokenStreamWriter.cs

Write a Guid value to the stream.

public void Write (Guid id);
member this.Write : Guid -> unit
abstract member Write : Guid -> unit
override this.Write : Guid -> unit
Public Sub Write (id As Guid)

Parameters

id
Guid

Implements

Applies to

Write(Int16)

Source:
BinaryTokenStreamWriter.cs

Write an Int16 value to the stream.

public void Write (short s);
member this.Write : int16 -> unit
abstract member Write : int16 -> unit
override this.Write : int16 -> unit
Public Sub Write (s As Short)

Parameters

s
Int16

Implements

Applies to

Write(Int32[])

Source:
BinaryTokenStreamWriter.cs

Write a Int32[] value to the stream.

public void Write (int[] i);
member this.Write : int[] -> unit
abstract member Write : int[] -> unit
override this.Write : int[] -> unit
Public Sub Write (i As Integer())

Parameters

i
Int32[]

Implements

Applies to