static Uint8List encodeLength(int length) { return PDUtil.hexToBytes( PDUtil.byteToHex(PDUtil.intToBytes(length)).padRight(4, '0')); }