mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Add wuffs_aux::DecodeImage
This commit is contained in:
1 parent
ccee207661
commit
04f8686989
9 files changed
+1044
-319
No files matched your search
@@ -62,9 +62,8 @@ class DecodeJsonCallbacks {
|
||||
// as DecodeJson may then de-allocate the backing array.
|
||||
//
|
||||
// The default Done implementation is a no-op.
|
||||
virtual void Done(DecodeJsonResult& result,
|
||||
sync_io::Input& input,
|
||||
IOBuffer& buffer);
|
||||
virtual void //
|
||||
Done(DecodeJsonResult& result, sync_io::Input& input, IOBuffer& buffer);
|
||||
};
|
||||
|
||||
extern const char DecodeJson_BadJsonPointer[];
|
||||
@@ -84,10 +83,10 @@ extern const char DecodeJson_NoMatch[];
|
||||
//
|
||||
// The JSON Pointer implementation is greedy: duplicate keys are not rejected
|
||||
// but only the first match for each '/'-separated fragment is followed.
|
||||
DecodeJsonResult DecodeJson(
|
||||
DecodeJsonCallbacks& callbacks,
|
||||
sync_io::Input& input,
|
||||
wuffs_base__slice_u32 quirks = wuffs_base__empty_slice_u32(),
|
||||
std::string json_pointer = std::string());
|
||||
DecodeJsonResult //
|
||||
DecodeJson(DecodeJsonCallbacks& callbacks,
|
||||
sync_io::Input& input,
|
||||
wuffs_base__slice_u32 quirks = wuffs_base__empty_slice_u32(),
|
||||
std::string json_pointer = std::string());
|
||||
|
||||
} // namespace wuffs_aux
|
||||
Reference in new issue
Block a user