aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/src/firebase/firestore/remote/serializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/core/src/firebase/firestore/remote/serializer.h')
-rw-r--r--Firestore/core/src/firebase/firestore/remote/serializer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Firestore/core/src/firebase/firestore/remote/serializer.h b/Firestore/core/src/firebase/firestore/remote/serializer.h
index 635ffc3..10cacbc 100644
--- a/Firestore/core/src/firebase/firestore/remote/serializer.h
+++ b/Firestore/core/src/firebase/firestore/remote/serializer.h
@@ -67,6 +67,9 @@ class Serializer {
* appended to this vector.
*/
// TODO(rsgowman): error handling, incl return code.
+ // TODO(rsgowman): If we never support any output except to a vector, it may
+ // make sense to have Serializer own the vector and provide an accessor rather
+ // than asking the user to create it first.
static void EncodeFieldValue(
const firebase::firestore::model::FieldValue& field_value,
std::vector<uint8_t>* out_bytes);