blob: b204183a5656815827842485335b498135366bdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <sys/types.h>
namespace document {
class FieldValue;
struct FieldValueWriter {
virtual ~FieldValueWriter() {}
virtual void writeFieldValue(const FieldValue &value) = 0;
virtual void writeSerializedData(const void *buf, size_t length) = 0;
};
} // namespace document
|