getCanonicalName static method

String getCanonicalName(
  1. TagType type
)

Implementation

static String getCanonicalName(TagType type) {
  switch (type) {
    case TagType.String:
      return "TAG_String";
    case TagType.List:
      return "TAG_List";
    case TagType.LongArray:
      return "TAG_LongArray";
    case TagType.Long:
      return "TAG_Long";
    case TagType.IntArray:
      return "TAG_IntArray";
    case TagType.Int:
      return "TAG_Int";
    case TagType.Compound:
      return "TAG_Compound";
    case TagType.ByteArray:
      return "TAG_ByteArray";
    case TagType.Byte:
      return "TAG_Byte";
    case TagType.Double:
      return "TAG_Double";
    case TagType.Float:
      return "TAG_Float";
    case TagType.Short:
      return "TAG_Short";
    case TagType.End:
      return "TAG_End";
  }
}