public class BinaryBlob extends Object
Constructor and Description |
---|
BinaryBlob(byte[] byteArray,
boolean isUncompressed)
Construct a binaryblob
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns a decompressed byte array
|
byte[] |
getRawBlob()
Returns a raw blob
|
void |
setBytes(byte[] byteArray)
Set bytes
|
public BinaryBlob(byte[] byteArray, boolean isUncompressed)
byteArray
- the source byte arrayisUncompressed
- - true if data is uncompressedpublic void setBytes(byte[] byteArray)
byteArray
- the byte arraypublic byte[] getBytes()
public byte[] getRawBlob()
Copyright © 2018 Apache Software Foundation. All rights reserved.