code: public static TypeOfAddress valueOf(byte b) {
          // bits 0-3 are the ton (shift over 0, then only the first 4 bits)
          int ton = (b & 0x0F);
          // bits 4-7 are the npi (shift over 4, then only the first 3 bits)
          int npi = ((b >> 4) & 0x07);
          // create our type of address now
          return new TypeOfAddress(Ton.fromInt(ton), Npi.fromInt(npi));
      }
docs: Creates a TypeOfAddress from a GSM-encoded type of address byte.
  @return