@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) |
public byte getType()
public byte[] getBytes()
public int length()
public String getBytesInBase64()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.