Documentation ¶
Overview ¶
* Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved. * SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved. * SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
func (*Converter) ConvertString ¶
type ICharsetConverter ¶
type ICharsetConverter interface { // ConvertString converts the charset of an input string ConvertString(input string) (string, error) // ConvertBytes converts the charset of an input byte array ConvertBytes(input []byte) ([]byte, error) // Convert converts the charset of a reader Convert(reader io.Reader) io.Reader // String describes the conversion String() string }
func NewConverter ¶
func NewConverter(fromEncoding encoding.Encoding, toEncoding encoding.Encoding) ICharsetConverter
Click to show internal directories.
Click to hide internal directories.