@lynx-js/types
Version:
@lynx-js/types is a type package of all public APIs officially provided by the Lynx team. Using this package can help you better use Lynx APIs to develop your applications.
17 lines (15 loc) • 457 B
TypeScript
// Copyright 2025 The Lynx Authors. All rights reserved.
// Licensed under the Apache License Version 2.0 that can be found in the
// LICENSE file in the root directory of this source tree.
export interface ITextCodecHelper {
/**
* @description decode array buffer to string
* @since 3.4
*/
decode(input: ArrayBuffer): string;
/**
* @description encode string to array buffer
* @since 3.4
*/
encode(input: string): ArrayBuffer;
}