### Question:
TypeDecoder { static Address decodeAddress(String input, long chainId) { return new Address(decodeNumeric(input, Uint160.class), chainId); }  static T decode(
            String input, int offset, TypeReference<T> typeReference,long chainId);  }### Answer:
@Test public void testAddress() { assertThat(TypeDecoder.decodeAddress( "000000000000000000000000be5422d15f39373eb0a97ff8c10fbd0e40e29338", NetworkParameters.MainNetParams.getChainId()), is(new Address("lat1he2z952l8ymnav9f0luvzraapeqw9yec8247zy"))); }