- } else if (type instanceof IntegerTypeDefinition) {
- ret = intCodec((IntegerTypeDefinition) type);
- } else if (type instanceof UnsignedIntegerTypeDefinition) {
- ret = uintCodec((UnsignedIntegerTypeDefinition) type);
+ } else if (type instanceof Int8TypeDefinition) {
+ ret = int8Codec((Int8TypeDefinition) type);
+ } else if (type instanceof Int16TypeDefinition) {
+ ret = int16Codec((Int16TypeDefinition) type);
+ } else if (type instanceof Int32TypeDefinition) {
+ ret = int32Codec((Int32TypeDefinition) type);
+ } else if (type instanceof Int64TypeDefinition) {
+ ret = int64Codec((Int64TypeDefinition) type);
+ } else if (type instanceof Uint8TypeDefinition) {
+ ret = uint8Codec((Uint8TypeDefinition) type);
+ } else if (type instanceof Uint16TypeDefinition) {
+ ret = uint16Codec((Uint16TypeDefinition) type);
+ } else if (type instanceof Uint32TypeDefinition) {
+ ret = uint32Codec((Uint32TypeDefinition) type);
+ } else if (type instanceof Uint64TypeDefinition) {
+ ret = uint64Codec((Uint64TypeDefinition) type);