mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 03:49:43 +00:00
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_CODEC_H_
|
|
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_CODEC_H_
|
|
|
|
#if !defined(__FLUTTER_LINUX_INSIDE__) && !defined(FLUTTER_LINUX_COMPILATION)
|
|
#error "Only <flutter_linux/flutter_linux.h> can be included directly."
|
|
#endif
|
|
|
|
#include "fl_message_codec.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
G_DECLARE_FINAL_TYPE(FlBinaryCodec,
|
|
fl_binary_codec,
|
|
FL,
|
|
BINARY_CODEC,
|
|
FlMessageCodec)
|
|
|
|
/**
|
|
* FlBinaryCodec:
|
|
*
|
|
* #FlBinaryCodec is an #FlMessageCodec that implements the Flutter binary
|
|
* message encoding. This only encodes and decodes #FlValue of type
|
|
* #FL_VALUE_TYPE_UINT8_LIST, other types #FlValues will generate an error
|
|
* during encoding.
|
|
*
|
|
* #FlBinaryCodec matches the BinaryCodec class in the Flutter services
|
|
* library.
|
|
*/
|
|
|
|
/**
|
|
* fl_binary_codec_new:
|
|
*
|
|
* Creates an #FlBinaryCodec.
|
|
*
|
|
* Returns: a new #FlBinaryCodec.
|
|
*/
|
|
FlBinaryCodec* fl_binary_codec_new();
|
|
|
|
G_END_DECLS
|
|
|
|
#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_CODEC_H_
|