public interface IBytesMessageBuilder

Summary

Interface for constructing messages binary-compatible with QPid's "BytesMessage" wire encoding.

Method Summary

Name Summary
IBytesMessageBuilder Write(byte[] source, int offset, int count)

Write a section of a byte array into the message body being assembled.

IBytesMessageBuilder WriteByte(byte value)

Writes a byte value into the message body being assembled.

IBytesMessageBuilder WriteBytes(byte[] source)

Write a byte array into the message body being assembled.

IBytesMessageBuilder WriteChar(char value)

Writes a char value into the message body being assembled.

IBytesMessageBuilder WriteDouble(double value)

Writes a double value into the message body being assembled.

IBytesMessageBuilder WriteInt16(short value)

Writes a short value into the message body being assembled.

IBytesMessageBuilder WriteInt32(int value)

Writes an int value into the message body being assembled.

IBytesMessageBuilder WriteInt64(long value)

Writes a long value into the message body being assembled.

IBytesMessageBuilder WriteSingle(single value)

Writes a float value into the message body being assembled.

IBytesMessageBuilder WriteString(string value)

Writes a string value into the message body being assembled.

Method Detail

Write

IBytesMessageBuilder Write(byte[] source, int offset, int count)

Return type IBytesMessageBuilder
Parameters
Name Type
source byte[]
offset int
count int

Summary

Write a section of a byte array into the message body being assembled.

WriteByte

IBytesMessageBuilder WriteByte(byte value)

Return type IBytesMessageBuilder
Parameters
Name Type
value byte

Summary

Writes a byte value into the message body being assembled.

WriteBytes

IBytesMessageBuilder WriteBytes(byte[] source)

Return type IBytesMessageBuilder
Parameters
Name Type
source byte[]

Summary

Write a byte array into the message body being assembled.

WriteChar

IBytesMessageBuilder WriteChar(char value)

Return type IBytesMessageBuilder
Parameters
Name Type
value char

Summary

Writes a char value into the message body being assembled.

WriteDouble

IBytesMessageBuilder WriteDouble(double value)

Return type IBytesMessageBuilder
Parameters
Name Type
value double

Summary

Writes a double value into the message body being assembled.

WriteInt16

IBytesMessageBuilder WriteInt16(short value)

Return type IBytesMessageBuilder
Parameters
Name Type
value short

Summary

Writes a short value into the message body being assembled.

WriteInt32

IBytesMessageBuilder WriteInt32(int value)

Return type IBytesMessageBuilder
Parameters
Name Type
value int

Summary

Writes an int value into the message body being assembled.

WriteInt64

IBytesMessageBuilder WriteInt64(long value)

Return type IBytesMessageBuilder
Parameters
Name Type
value long

Summary

Writes a long value into the message body being assembled.

WriteSingle

IBytesMessageBuilder WriteSingle(single value)

Return type IBytesMessageBuilder
Parameters
Name Type
value single

Summary

Writes a float value into the message body being assembled.

WriteString

IBytesMessageBuilder WriteString(string value)

Return type IBytesMessageBuilder
Parameters
Name Type
value string

Summary

Writes a string value into the message body being assembled.