public class StreamWireFormatting

Summary

Internal support class for use in reading and writing information binary-compatible with QPid's "StreamMessage" wire encoding.

Constructor Summary

Flags Name Summary
public StreamWireFormatting()

(undocumented)

Method Summary

Flags Name Summary
public static bool ReadBool(NetworkBinaryReader reader)

(undocumented)

public static byte ReadByte(NetworkBinaryReader reader)

(undocumented)

public static byte[] ReadBytes(NetworkBinaryReader reader)

(undocumented)

public static char ReadChar(NetworkBinaryReader reader)

(undocumented)

public static double ReadDouble(NetworkBinaryReader reader)

(undocumented)

public static short ReadInt16(NetworkBinaryReader reader)

(undocumented)

public static int ReadInt32(NetworkBinaryReader reader)

(undocumented)

public static long ReadInt64(NetworkBinaryReader reader)

(undocumented)

public static object ReadNonnullObject(string target, NetworkBinaryReader reader)

(undocumented)

public static object ReadObject(NetworkBinaryReader reader)

(undocumented)

public static single ReadSingle(NetworkBinaryReader reader)

(undocumented)

public static string ReadString(NetworkBinaryReader reader)

(undocumented)

public static string ReadUntypedString(NetworkBinaryReader reader)

(undocumented)

public static void WriteBool(NetworkBinaryWriter writer, bool value)

(undocumented)

public static void WriteByte(NetworkBinaryWriter writer, byte value)

(undocumented)

public static void WriteBytes(NetworkBinaryWriter writer, byte[] value, int offset, int length)

(undocumented)

public static void WriteBytes(NetworkBinaryWriter writer, byte[] value)

(undocumented)

public static void WriteChar(NetworkBinaryWriter writer, char value)

(undocumented)

public static void WriteDouble(NetworkBinaryWriter writer, double value)

(undocumented)

public static void WriteInt16(NetworkBinaryWriter writer, short value)

(undocumented)

public static void WriteInt32(NetworkBinaryWriter writer, int value)

(undocumented)

public static void WriteInt64(NetworkBinaryWriter writer, long value)

(undocumented)

public static void WriteObject(NetworkBinaryWriter writer, object value)

(undocumented)

public static void WriteSingle(NetworkBinaryWriter writer, single value)

(undocumented)

public static void WriteString(NetworkBinaryWriter writer, string value)

(undocumented)

public static void WriteUntypedString(NetworkBinaryWriter writer, string value)

(undocumented)

Constructor Detail

StreamWireFormatting

public StreamWireFormatting()

Method Detail

ReadBool

public static bool ReadBool(NetworkBinaryReader reader)

Flags public static
Return type bool
Parameters
Name Type
reader NetworkBinaryReader

ReadByte

public static byte ReadByte(NetworkBinaryReader reader)

Flags public static
Return type byte
Parameters
Name Type
reader NetworkBinaryReader

ReadBytes

public static byte[] ReadBytes(NetworkBinaryReader reader)

Flags public static
Return type byte[]
Parameters
Name Type
reader NetworkBinaryReader

ReadChar

public static char ReadChar(NetworkBinaryReader reader)

Flags public static
Return type char
Parameters
Name Type
reader NetworkBinaryReader

ReadDouble

public static double ReadDouble(NetworkBinaryReader reader)

Flags public static
Return type double
Parameters
Name Type
reader NetworkBinaryReader

ReadInt16

public static short ReadInt16(NetworkBinaryReader reader)

Flags public static
Return type short
Parameters
Name Type
reader NetworkBinaryReader

ReadInt32

public static int ReadInt32(NetworkBinaryReader reader)

Flags public static
Return type int
Parameters
Name Type
reader NetworkBinaryReader

ReadInt64

public static long ReadInt64(NetworkBinaryReader reader)

Flags public static
Return type long
Parameters
Name Type
reader NetworkBinaryReader

ReadNonnullObject

public static object ReadNonnullObject(string target, NetworkBinaryReader reader)

Flags public static
Return type object
Parameters
Name Type
target string
reader NetworkBinaryReader

Exception

ReadObject

public static object ReadObject(NetworkBinaryReader reader)

Flags public static
Return type object
Parameters
Name Type
reader NetworkBinaryReader

Exception

Exception

ReadSingle

public static single ReadSingle(NetworkBinaryReader reader)

Flags public static
Return type single
Parameters
Name Type
reader NetworkBinaryReader

ReadString

public static string ReadString(NetworkBinaryReader reader)

Flags public static
Return type string
Parameters
Name Type
reader NetworkBinaryReader

ReadUntypedString

public static string ReadUntypedString(NetworkBinaryReader reader)

Flags public static
Return type string
Parameters
Name Type
reader NetworkBinaryReader

WriteBool

public static void WriteBool(NetworkBinaryWriter writer, bool value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value bool

WriteByte

public static void WriteByte(NetworkBinaryWriter writer, byte value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value byte

WriteBytes

public static void WriteBytes(NetworkBinaryWriter writer, byte[] value, int offset, int length)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value byte[]
offset int
length int

WriteBytes

public static void WriteBytes(NetworkBinaryWriter writer, byte[] value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value byte[]

WriteChar

public static void WriteChar(NetworkBinaryWriter writer, char value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value char

WriteDouble

public static void WriteDouble(NetworkBinaryWriter writer, double value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value double

WriteInt16

public static void WriteInt16(NetworkBinaryWriter writer, short value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value short

WriteInt32

public static void WriteInt32(NetworkBinaryWriter writer, int value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value int

WriteInt64

public static void WriteInt64(NetworkBinaryWriter writer, long value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value long

WriteObject

public static void WriteObject(NetworkBinaryWriter writer, object value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value object

Exception

WriteSingle

public static void WriteSingle(NetworkBinaryWriter writer, single value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value single

WriteString

public static void WriteString(NetworkBinaryWriter writer, string value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value string

WriteUntypedString

public static void WriteUntypedString(NetworkBinaryWriter writer, string value)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
value string