Firebase. Firestore. Blob
An immutable sequence of bytes.
Summary
Although this is a struct, it's effectively just a wrapper around a byte[].
Inheritance
Inherits from: IEquatable< Blob > Public attributes | |
---|---|
Length => _bytes.Length | int The length of the blob, in bytes. |
this[int index] => _bytes[index] | byte Returns the byte at index index . |
Public functions | |
---|---|
Equals(object obj) | override bool |
Equals(Blob other) | bool |
GetHashCode() | override int |
ToBytes() | byte[] Returns a copy of this Blob as a byte[]. |
ToString() | override string |
Public static functions | |
---|---|
CopyFrom(byte[] bytes) | Constructs a new Blob by copying the current content of bytes . |
operator!=(Blob lhs, Blob rhs) | bool Operator overload to compare two Blob values for inequality. |
operator==(Blob lhs, Blob rhs) | bool Operator overload to compare two Blob values for equality. |
Public attributes
Length
int Firebase::Firestore::Blob::Length => _bytes.Length
The length of the blob, in bytes.
this[int index]
byte Firebase::Firestore::Blob::this[int index] => _bytes[index]
Returns the byte at index index .
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | The byte at index index . |
Public functions
Equals
override bool Firebase::Firestore::Blob::Equals( object obj )
Equals
bool Firebase::Firestore::Blob::Equals( Blob other )
GetHashCode
override int Firebase::Firestore::Blob::GetHashCode()
ToString
override string Firebase::Firestore::Blob::ToString()
Public static functions
CopyFrom
Blob Firebase::Firestore::Blob::CopyFrom( byte[] bytes )
Constructs a new Blob by copying the current content of bytes .
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | A new blob containing a copy of bytes . |