public class SerializerHelpers extends Object
Constructor and Description |
---|
SerializerHelpers() |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.buffer.ChannelBuffer |
getBuffer() |
void |
setBuffer(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
writeCharSequence(CharSequence value,
int maxSize,
boolean isTerminable) |
void |
writeData(byte[] value,
int maxSize) |
void |
writeInt16(short value) |
void |
writeInt32(int value) |
void |
writeInt64(long value) |
void |
writeInt8(byte value) |
void |
writeMessage(Message message) |
void |
writePad(int size) |
void |
writeRequestHeader(long msgSeqNum,
long senderSubId) |
void |
writeString(String value,
int maxSize,
boolean isTerminable) |
void |
writeUInt16(int value) |
void |
writeUInt32(long value) |
void |
writeUInt64(long value) |
void |
writeUInt8(short value) |
public org.jboss.netty.buffer.ChannelBuffer getBuffer()
public void setBuffer(org.jboss.netty.buffer.ChannelBuffer buffer)
public void writeRequestHeader(long msgSeqNum, long senderSubId) throws IOException
IOException
public void writeInt8(byte value) throws IOException
IOException
public void writeUInt8(short value) throws IOException
IOException
public void writeInt16(short value) throws IOException
IOException
public void writeUInt16(int value) throws IOException
IOException
public void writeInt32(int value) throws IOException
IOException
public void writeUInt32(long value) throws IOException
IOException
public void writeInt64(long value) throws IOException
IOException
public void writeUInt64(long value) throws IOException
IOException
public void writeString(String value, int maxSize, boolean isTerminable) throws IOException
IOException
public void writeCharSequence(CharSequence value, int maxSize, boolean isTerminable) throws IOException
IOException
public void writeData(byte[] value, int maxSize) throws IOException
IOException
public void writePad(int size) throws IOException
IOException
public void writeMessage(Message message) throws IOException
IOException
Copyright © 2012–2024 Onix Solutions. All rights reserved.