public interface BytesData extends UploadData
Modifier and Type | Method and Description |
---|---|
default byte[] |
data()
Returns an array of the upload data bytes.
|
static BytesData |
of(byte[] data)
Returns an instance of
BytesData with the given upload data bytes. |
static BytesData |
of(java.lang.String data)
Returns an instance of
BytesData with the given upload data bytes obtained from the
data string. |
static BytesData of(java.lang.String data)
BytesData
with the given upload data bytes obtained from the
data
string.static BytesData of(byte[] data)
BytesData
with the given upload data
bytes.default byte[] data()