- this.packId = Base64.encodeBytes(sticker.getPackId());
- this.packKey = Base64.encodeBytes(sticker.getPackKey());
+ this.packId = Base64.getEncoder().encodeToString(sticker.getPackId());
+ this.packKey = Base64.getEncoder().encodeToString(sticker.getPackKey());