C# Class PureCat.Message.Spi.Codec.PlainTextMessageCodec.BufferHelper

Mostrar archivo Open project: chinaboard/PureCat

Public Methods

Method Description
Read ( ChannelBuffer buf, byte separator ) : string
ReadRaw ( ChannelBuffer buf, byte separator ) : string
Write ( ChannelBuffer buf, byte b ) : int
Write ( ChannelBuffer buf, string str ) : int
WriteRaw ( ChannelBuffer buf, string str ) : int

Method Details

Read() public method

public Read ( ChannelBuffer buf, byte separator ) : string
buf ChannelBuffer
separator byte
return string

ReadRaw() public method

public ReadRaw ( ChannelBuffer buf, byte separator ) : string
buf ChannelBuffer
separator byte
return string

Write() public method

public Write ( ChannelBuffer buf, byte b ) : int
buf ChannelBuffer
b byte
return int

Write() public method

public Write ( ChannelBuffer buf, string str ) : int
buf ChannelBuffer
str string
return int

WriteRaw() public method

public WriteRaw ( ChannelBuffer buf, string str ) : int
buf ChannelBuffer
str string
return int