blob: 87b073b98c59e05e3f552a8db815b72f3b043f90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.hitfield;
import java.util.Base64;
/**
* @author baldersheim
*/
public class RawBase64 {
private final byte[] content;
public RawBase64(byte[] content) {
this.content = content;
}
@Override
public String toString() {
return Base64.getEncoder().encodeToString(content);
}
}
|