public class BlobUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
blob2Bytes(Blob blob)
Blob to byte array.
|
static String |
blob2string(Blob blob)
Blob 2 string string.
|
static Blob |
bytes2Blob(byte[] bytes)
Byte array to blob
|
static Blob |
string2blob(String str)
String 2 blob blob.
|
public static Blob string2blob(String str)
str - the strpublic static String blob2string(Blob blob)
blob - the blobpublic static Blob bytes2Blob(byte[] bytes)
bytes - the byte arraypublic static byte[] blob2Bytes(Blob blob)
blob - the blobCopyright © 2020 Seata. All rights reserved.