IBinaryTokenStreamWriter Interface

Definition

public interface IBinaryTokenStreamWriter
type IBinaryTokenStreamWriter = interface
Public Interface IBinaryTokenStreamWriter
Derived

Properties

CurrentOffset

Current write position in the stream.

Methods

ReleaseBuffers()

Release any serialization buffers being used by this stream.

ToByteArray()

Return the output stream as a byte[].

ToBytes()

Return the output stream as a set of ArraySegment.

TryWriteSimpleObject(Object)

Try to write a simple type (non-array) 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(Byte[], Int32, Int32)

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

Write(Char)

Write a char value to the stream.

Write(Char[])

Write a char[] value 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(Int16[])

Write a Int16[] value to the stream.

Write(Int32)

Write an Int32 value to the stream.

Write(Int32[])

Write a Int32[] value to the stream.

Write(Int64)

Write an Int64 value to the stream.

Write(Int64[])

Write a Int64[] value to the stream.

Write(IPAddress)

Write a IPAddress value to the stream.

Write(IPEndPoint)

Write a IPEndPoint value to the stream.

Write(List<ArraySegment<Byte>>)

Write a list of byte array segments to the stream.

Write(SByte)

Write a sbyte value to the stream.

Write(SByte[])

Write a sbyte[] value to the stream.

Write(SiloAddress)

Write a SiloAddress 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(TimeSpan)

Write a TimeSpan value to the stream.

Write(UInt16)

Write a UInt16 value to the stream.

Write(UInt16[])

Write a UInt16[] 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.

WriteNull()

Write a null value to the stream.

WriteTypeHeader(Type, Type)

Write a type header for the specified Type to the stream.

Applies to