Class SimpleDataInput
- java.lang.Object
-
- org.wildfly.clustering.marshalling.protostream.SimpleDataInput
-
- All Implemented Interfaces:
DataInput
- Direct Known Subclasses:
SimpleObjectInput
public class SimpleDataInput extends Object implements DataInput
DataInputimplementation used to write the unexposed fields of anorg.jgroups.util.Streamableobject.- Author:
- Paul Ferraro
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleDataInput.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanreadBoolean()bytereadByte()charreadChar()doublereadDouble()floatreadFloat()voidreadFully(byte[] bytes)voidreadFully(byte[] bytes, int offset, int length)intreadInt()StringreadLine()longreadLong()shortreadShort()intreadUnsignedByte()intreadUnsignedShort()StringreadUTF()intskipBytes(int n)
-
-
-
Method Detail
-
readDouble
public double readDouble()
- Specified by:
readDoublein interfaceDataInput
-
readFully
public void readFully(byte[] bytes, int offset, int length)
-
readBoolean
public boolean readBoolean()
- Specified by:
readBooleanin interfaceDataInput
-
readUnsignedByte
public int readUnsignedByte()
- Specified by:
readUnsignedBytein interfaceDataInput
-
readUnsignedShort
public int readUnsignedShort()
- Specified by:
readUnsignedShortin interfaceDataInput
-
-