All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emv.qrcode.core.model.BERTLV Maven / Gradle / Ivy

There is a newer version: 0.1.2
Show newest version
package com.emv.qrcode.core.model;

import java.io.IOException;

import org.apache.commons.codec.binary.Hex;

@SuppressWarnings("java:S1214")
public interface BERTLV extends TLV {

  public static final byte[] EMPTY_BYTES = new byte[0];

  public byte[] getBytes() throws IOException;

  default String toHex() throws IOException {
    return Hex.encodeHexString(getBytes(), false);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy