source:
trip-planner/src/main/java/finki/diplomska/tripplanner/models/ImageUtil.java
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 217 bytes |
Line | |
---|---|
1 | package finki.diplomska.tripplanner.models; |
2 | |
3 | import java.util.Base64; |
4 | |
5 | public class ImageUtil { |
6 | public String getImgData(byte[] byteData) { |
7 | return Base64.getMimeEncoder().encodeToString(byteData); |
8 | } |
9 | } |
Note:
See TracBrowser
for help on using the repository browser.