Package com.danga.MemCached
Interface LineInputStream
- All Known Implementing Classes:
ByteBufArrayInputStream
,SockIOPool.SockIO
public interface LineInputStream
-
Method Summary
-
Method Details
-
readLine
Read everything up to the next end-of-line. Does not include the end of line, though it is consumed from the input.- Returns:
- All next up to the next end of line.
- Throws:
IOException
-
clearEOL
Read everything up to and including the end of line.- Throws:
IOException
-
read
Read some bytes.- Parameters:
buf
- The buffer into which read.- Returns:
- The number of bytes actually read, or -1 if none could be read.
- Throws:
IOException
-