We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b52ab01 commit 7a64663Copy full SHA for 7a64663
core/src/main/java/org/dcache/nfs/util/Opaque.java
@@ -28,6 +28,12 @@
28
* and a Base64 string representation.
29
*/
30
public interface Opaque {
31
+ /**
32
+ * Returns an {@link Opaque} instance based on a copy of the given bytes.
33
+ *
34
+ * @param bytes The bytes.
35
+ * @return The {@link Opaque} instance.
36
+ */
37
public static Opaque forBytes(byte[] bytes) {
38
return new OpaqueImpl(bytes.clone());
39
}
0 commit comments