We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9be571 commit 883c829Copy full SHA for 883c829
snapshots.go
@@ -31,6 +31,11 @@ func (snapshot *DataSnapshot) Val(v interface{}) error {
31
return json.NewDecoder(bytes.NewReader(snapshot.raw)).Decode(v)
32
}
33
34
+// Bytes returns snapshot raw data
35
+func (snapshot *DataSnapshot) Bytes() []byte {
36
+ return snapshot.raw
37
+}
38
+
39
// ChildSnapshot type
40
type ChildSnapshot struct {
41
PrevChildKey string
0 commit comments