public class StreamWireFormatting
Summary
Internal support class for use in reading and writing
information binary-compatible with QPid's "StreamMessage" wire
encoding.
Constructor Summary
Method 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)
ReadByte
public static byte ReadByte(NetworkBinaryReader reader)
ReadBytes
public static byte[] ReadBytes(NetworkBinaryReader reader)
ReadChar
public static char ReadChar(NetworkBinaryReader reader)
ReadDouble
public static double ReadDouble(NetworkBinaryReader reader)
ReadInt16
public static short ReadInt16(NetworkBinaryReader reader)
ReadInt32
public static int ReadInt32(NetworkBinaryReader reader)
ReadInt64
public static long ReadInt64(NetworkBinaryReader reader)
ReadNonnullObject
public static object ReadNonnullObject(string target, NetworkBinaryReader reader)
ReadObject
public static object ReadObject(NetworkBinaryReader reader)
ReadSingle
public static single ReadSingle(NetworkBinaryReader reader)
ReadString
public static string ReadString(NetworkBinaryReader reader)
ReadUntypedString
public static string ReadUntypedString(NetworkBinaryReader reader)
WriteBool
public static void WriteBool(NetworkBinaryWriter writer, bool value)
WriteByte
public static void WriteByte(NetworkBinaryWriter writer, byte value)
WriteBytes
public static void WriteBytes(NetworkBinaryWriter writer, byte[] value, int offset, int length)
WriteBytes
public static void WriteBytes(NetworkBinaryWriter writer, byte[] value)
WriteChar
public static void WriteChar(NetworkBinaryWriter writer, char value)
WriteDouble
public static void WriteDouble(NetworkBinaryWriter writer, double value)
WriteInt16
public static void WriteInt16(NetworkBinaryWriter writer, short value)
WriteInt32
public static void WriteInt32(NetworkBinaryWriter writer, int value)
WriteInt64
public static void WriteInt64(NetworkBinaryWriter writer, long value)
WriteObject
public static void WriteObject(NetworkBinaryWriter writer, object value)
WriteSingle
public static void WriteSingle(NetworkBinaryWriter writer, single value)
WriteString
public static void WriteString(NetworkBinaryWriter writer, string value)
WriteUntypedString
public static void WriteUntypedString(NetworkBinaryWriter writer, string value)