Class OffsetCodec
- java.lang.Object
-
- com.grammatech.gtirb.auxdatacodec.OffsetCodec
-
-
Constructor Summary
Constructors Constructor Description OffsetCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Offset
decode(java.io.InputStream in)
Decode a serialized instance into an in-memory object of type T.void
encode(java.io.OutputStream out, Offset val)
Encode an in-memory object into serialized form.java.lang.String
getTypeName()
Gets the portable name for the type used in protobuf.
-
-
-
Method Detail
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:Codec
Gets the portable name for the type used in protobuf.- Specified by:
getTypeName
in interfaceCodec<Offset>
- Returns:
- The name of the type.
-
decode
public Offset decode(java.io.InputStream in) throws java.io.IOException
Description copied from interface:Codec
Decode a serialized instance into an in-memory object of type T.
-
-