Class Blob
java.lang.Object
ch.nolix.system.database.blob.Blob
- All Implemented Interfaces:
IBlob
-
Method Details
-
forBytes
- Parameters:
bytes-- Returns:
- a new
Blobwith the given bytes - Throws:
RuntimeException- if the given bytes is null
-
fromString
- Parameters:
string-- Returns:
- a new
Blobfrom the given string - Throws:
RuntimeException- if the given string is null
-
getSizeInBytes
public int getSizeInBytes()- Specified by:
getSizeInBytesin interfaceIBlob
-
getStoredBytes
public byte[] getStoredBytes()- Specified by:
getStoredBytesin interfaceIBlob
-
toString
-