java.lang.Object |
↳ |
com.google.firebase.firestore.Blob |
Class Overview
Immutable class representing an array of bytes in Firestore.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
java.lang.Comparable
abstract
int
|
compareTo(Blob arg0)
|
|
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 |
byte : The bytes to use for this Blob instance. |
Returns |
Blob |
The new Blob instance
|
public
ByteString
toByteString
()
public
byte[]
toBytes
()
Returns |
byte[] |
The bytes of this blob as a new byte[] array. |
public
String
toString
()