com.tc.io
Interface TCDataInput

All Superinterfaces:
java.io.DataInput
All Known Subinterfaces:
TCByteBufferInput

public interface TCDataInput
extends java.io.DataInput

Input stream


Method Summary
 int read(byte[] b, int off, int len)
          Read bytes into b starting at off for len.
 java.lang.String readString()
          Read string
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 

Method Detail

readString

java.lang.String readString()
                            throws java.io.IOException
Read string

Returns:
String value
Throws:
java.io.IOException

read

int read(byte[] b,
         int off,
         int len)
         throws java.io.IOException
Read bytes into b starting at off for len.

Parameters:
b - The byte array to read into
off - The offset to start at in b
len - The number of bytes to read
Returns:
The number of bytes read
Throws:
java.io.IOException - If there is an error reading the bytes


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.