@Immutable public final class Binary extends Object implements Serializable
binary
value for use within a BSON Object
.Constructor and Description |
---|
Binary(byte[] data) |
Binary(byte type,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes() |
String |
getBytesInBase64() |
byte |
getType() |
int |
hashCode() |
int |
length() |
String |
toString() |
public byte getType()
public byte[] getBytes()
public int length()
public String getBytesInBase64()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.