Immutable class representing an array of bytes in Cloud Firestore.
Public Method Summary
int | |
boolean | |
static Blob |
fromBytes(byte[]
bytes)
Creates a new
Blob instance from the provided bytes.
|
int |
hashCode()
|
byte[] |
toBytes()
|
String |
toString()
|
Inherited Method Summary
Public Methods
public int compareTo (Blob other)
public boolean equals (Object other)
public static Blob fromBytes (byte[] bytes)
Creates a new Blob
instance from the provided bytes. Will make a copy
of the bytes passed in.
Parameters
bytes | The bytes to use for this Blob instance. |
---|
Returns
- The new
Blob
instance
public int hashCode ()
public byte[] toBytes ()
Returns
- The bytes of this blob as a new byte[] array.