code: public static String asString(byte id) {
          switch (id) {
              case STOP:
                  return "stop(0)";
              case VOID:
                  return "void(1)";
              case BOOL:
                  return "bool(2)";
              case BYTE:
                  return "byte(3)";
              case DOUBLE:
                  return "double(4)";
              // case 5:
              case I16:
                  return "i16(6)";
              // case 7:
              case I32:
                  // ENUM is same as I32.
                  return "i32(8)";
              // case 9:
              case I64:
                  return "i64(10)";
              case STRING:
                  // BINARY is same as STRING.
                  return "string(11)";
              case STRUCT:
                  return "struct(12)";
              case MAP:
                  return "map(13)";
              case SET:
                  return "set(14)";
              case LIST:
                  return "list(15)";
              default:
                  return "unknown(" + id + ")";
          }
      }
docs: Readable string value for a type ID.
  
  @param id The type ID.
  @return The type string.