BinaryTokenStreamWriter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writer for Orleans binary token streams
public class BinaryTokenStreamWriter
public class BinaryTokenStreamWriter : Orleans.Serialization.IBinaryTokenStreamWriter
type BinaryTokenStreamWriter = class
type BinaryTokenStreamWriter = class
interface IBinaryTokenStreamWriter
Public Class BinaryTokenStreamWriter
Public Class BinaryTokenStreamWriter
Implements IBinaryTokenStreamWriter
- Inheritance
-
BinaryTokenStreamWriter
- Implements
Constructors
BinaryTokenStreamWriter() |
Default constructor. |
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 |
ToBytes() |
Return the output stream as a set of |
TryWriteSimpleObject(Object) |
Try to write a simple type (non-array) value to the stream. |
Write(Boolean) |
Write a |
Write(Boolean[]) |
Write a |
Write(Byte) |
Write a |
Write(Byte[], Int32, Int32) |
Write the specified number of bytes to the stream, starting at the specified offset in the input |
Write(Byte[]) |
Write a |
Write(Char) |
Write a |
Write(Char[]) |
Write a |
Write(DateTime) |
Write a |
Write(Decimal) |
Write a |
Write(Double) |
Write a |
Write(Double[]) |
Write a |
Write(Guid) |
Write a |
Write(Int16) |
Write an |
Write(Int16[]) |
Write a |
Write(Int32) |
Write an |
Write(Int32[]) |
Write a |
Write(Int64) |
Write an |
Write(Int64[]) |
Write a |
Write(IPAddress) |
Write a |
Write(IPEndPoint) |
Write a |
Write(List<ArraySegment<Byte>>) |
Write a list of byte array segments to the stream. |
Write(SByte) |
Write a |
Write(SByte[]) |
Write a |
Write(SiloAddress) |
Write a |
Write(Single) |
Write a |
Write(Single[]) |
Write a |
Write(String) |
Write a |
Write(TimeSpan) |
Write a |
Write(UInt16) |
Write a |
Write(UInt16[]) |
Write a |
Write(UInt32) |
Write a |
Write(UInt32[]) |
Write a |
Write(UInt64) |
Write a |
Write(UInt64[]) |
Write a |
WriteNull() |
Write a |
WriteTypeHeader(Type, Type) |
Write a type header for the specified Type to the stream. |