public interface IntSerializer
| Modifier and Type | Method and Description |
|---|---|
default int |
readInt(DataInput input)
Read an integer from the specified input stream.
|
default int |
size(int value) |
default void |
writeInt(DataOutput output,
int value)
Writes the specified integer to the specified output stream
|
default void writeInt(DataOutput output, int value) throws IOException
output - the data output streamvalue - an integer valueIOException - if an I/O error occursdefault int readInt(DataInput input) throws IOException
input - a data input streamIOException - if an I/O error occursdefault int size(int value)
Copyright © 2021 JBoss by Red Hat. All rights reserved.