@ThreadSafe @Immutable public static class Serializers.ShortSerializer extends java.lang.Object implements ChunkAwareSerializer<java.lang.Short>
| Constructor and Description |
|---|
Serializers.ShortSerializer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getChunkSize() |
java.lang.Short |
read(java.io.DataInput from) |
void |
write(java.lang.Short value,
java.io.DataOutput to) |
public int getChunkSize()
getChunkSize in interface ChunkAwareSerializer<java.lang.Short>@Nonnull
public java.lang.Short read(@Nonnull
java.io.DataInput from)
throws java.io.IOException
read in interface Serializer<java.lang.Short>java.io.IOExceptionpublic void write(@Nonnull
java.lang.Short value,
@Nonnull
java.io.DataOutput to)
throws java.io.IOException
write in interface Serializer<java.lang.Short>java.io.IOExceptionCopyright © 2013 echocat. All Rights Reserved.