mirror of
https://github.com/google/flatbuffers.git
synced 2026-11-12 06:56:21 +00:00
Add a FileWriter interface (#7821)
* Add a FileWriter interface * Change interface * Provide 2 impl for File interface: FileManager & FileNameManager * Update * update * Update * Add file_writer file * Update * Format files * Update based on review * Update * Format bzl file * Add LoadFile function * Format --------- Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
co-authored by
Derek Bailey
parent
0888e7cb4d
commit
0916f1c87e
@@ -408,7 +408,7 @@ inline std::string FlatBufferToString(const uint8_t *buffer,
|
||||
const TypeTable *type_table,
|
||||
bool multi_line = false,
|
||||
bool vector_delimited = true,
|
||||
const std::string& indent = "") {
|
||||
const std::string &indent = "") {
|
||||
ToStringVisitor tostring_visitor(multi_line ? "\n" : " ", false, indent,
|
||||
vector_delimited);
|
||||
IterateFlatBuffer(buffer, type_table, &tostring_visitor);
|
||||
|
||||
Reference in New Issue
Block a user