Class IntSerializer
java.lang.Object
com.jme3.network.serializing.Serializer
com.jme3.network.serializing.serializers.IntSerializer
The Integer serializer serializes...integers. Big surprise.
- 
Field SummaryFields inherited from class com.jme3.network.serializing.Serializerlog
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionreadObject(ByteBuffer data, Class c) Read an object from the buffer, effectively deserializing it.voidwriteObject(ByteBuffer buffer, Object object) Write an object to the buffer, effectively serializing it.Methods inherited from class com.jme3.network.serializing.SerializergetExactSerializer, getExactSerializerRegistration, getSerializer, getSerializer, getSerializerRegistration, getSerializerRegistration, getSerializerRegistrations, initialize, initialize, isReadOnly, readClass, readClassAndObject, registerClass, registerClass, registerClass, registerClasses, registerClassForId, registerPackage, setReadOnly, setStrictRegistration, writeClass, writeClassAndObject
- 
Constructor Details- 
IntSerializerpublic IntSerializer()
 
- 
- 
Method Details- 
readObjectDescription copied from class:SerializerRead an object from the buffer, effectively deserializing it.- Specified by:
- readObjectin class- Serializer
- Parameters:
- data- The buffer to read from.
- c- The class of the object.
- Returns:
- The object read.
- Throws:
- IOException- If deserializing fails.
 
- 
writeObjectDescription copied from class:SerializerWrite an object to the buffer, effectively serializing it.- Specified by:
- writeObjectin class- Serializer
- Parameters:
- buffer- The buffer to write to.
- object- The object to serialize.
- Throws:
- IOException- If serializing fails.
 
 
-