public class FixedNumberCodec extends Object implements NumberCodec
Constructor and Description |
---|
FixedNumberCodec(ObjectInputStream ois) |
FixedNumberCodec(ObjectOutputStream oos) |
Modifier and Type | Method and Description |
---|---|
double |
readDouble() |
int |
readInt() |
long |
readLong() |
int |
readSignedInt() |
long |
readSignedLong() |
long |
writeDouble(double value) |
long |
writeInt(int value) |
long |
writeLong(long value) |
long |
writeSignedInt(int value) |
long |
writeSignedLong(long value) |
public FixedNumberCodec(ObjectInputStream ois) throws IOException
IOException
public FixedNumberCodec(ObjectOutputStream oos) throws IOException
IOException
public int readInt() throws IOException
readInt
in interface NumberCodec
IOException
public long readLong() throws IOException
readLong
in interface NumberCodec
IOException
public double readDouble() throws IOException
readDouble
in interface NumberCodec
IOException
public long writeInt(int value) throws IOException
writeInt
in interface NumberCodec
IOException
public long writeLong(long value) throws IOException
writeLong
in interface NumberCodec
IOException
public long writeDouble(double value) throws IOException
writeDouble
in interface NumberCodec
IOException
public int readSignedInt() throws IOException
readSignedInt
in interface NumberCodec
IOException
public long readSignedLong() throws IOException
readSignedLong
in interface NumberCodec
IOException
public long writeSignedInt(int value) throws IOException
writeSignedInt
in interface NumberCodec
IOException
public long writeSignedLong(long value) throws IOException
writeSignedLong
in interface NumberCodec
IOException
Copyright © 2017. All rights reserved.