Class StringIODef
java.lang.Object
dev.quantumfusion.hyphen.codegen.def.StringIODef
- All Implemented Interfaces:
SerializerDef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteGet(MethodHandler mh)Writes code for decoding the Clazz the definition is designed to handle.voidwriteMeasure(MethodHandler mh, Runnable valueLoad)Writes code for measuring the size required to encode the valuevoidwritePut(MethodHandler mh, Runnable valueLoad)Writes code for encoding the Clazz the definition is designed to handle.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.quantumfusion.hyphen.codegen.def.SerializerDef
getStaticSize, hasDynamicSize
-
Constructor Details
-
StringIODef
public StringIODef()
-
-
Method Details
-
writePut
Description copied from interface:SerializerDefWrites code for encoding the Clazz the definition is designed to handle.- Specified by:
writePutin interfaceSerializerDef- Parameters:
mh- A MethodHandlervalueLoad- A Runnable which pushes the Clazz value onto the stack.
-
writeGet
Description copied from interface:SerializerDefWrites code for decoding the Clazz the definition is designed to handle.- Specified by:
writeGetin interfaceSerializerDef- Parameters:
mh- A MethodHandler
-
writeMeasure
Description copied from interface:SerializerDefWrites code for measuring the size required to encode the value- Specified by:
writeMeasurein interfaceSerializerDef- Parameters:
mh- A MethodHandlervalueLoad- A Runnable which pushes the Clazz value onto the stack.
-