@Immutable @SerializeWith(value=Binary.Externalizer.class) public final class Binary extends Object
binary
value for use within a BSON Object
.Modifier and Type | Class and Description |
---|---|
static class |
Binary.Externalizer |
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.