public class BytesWireFormatting

Summary

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

Constructor Summary

Flags Name Summary
public BytesWireFormatting()

(undocumented)

Method Summary

Flags Name Summary
public static int Read(NetworkBinaryReader reader, byte[] target, int offset, int count)

(undocumented)

public static byte ReadByte(NetworkBinaryReader reader)

(undocumented)

public static byte[] ReadBytes(NetworkBinaryReader reader, int count)

(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 single ReadSingle(NetworkBinaryReader reader)

(undocumented)

public static string ReadString(NetworkBinaryReader reader)

(undocumented)

public static void Write(NetworkBinaryWriter writer, byte[] source, int offset, int count)

(undocumented)

public static void WriteByte(NetworkBinaryWriter writer, byte value)

(undocumented)

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

(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 WriteSingle(NetworkBinaryWriter writer, single value)

(undocumented)

public static void WriteString(NetworkBinaryWriter writer, string value)

(undocumented)

Constructor Detail

BytesWireFormatting

public BytesWireFormatting()

Method Detail

Read

public static int Read(NetworkBinaryReader reader, byte[] target, int offset, int count)

Flags public static
Return type int
Parameters
Name Type
reader NetworkBinaryReader
target byte[]
offset int
count int

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, int count)

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

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

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

Write

public static void Write(NetworkBinaryWriter writer, byte[] source, int offset, int count)

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

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[] source)

Flags public static
Return type void
Parameters
Name Type
writer NetworkBinaryWriter
source 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

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