utf16le

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Decode

func Decode(b []byte) (string, error)

func Encode

func Encode(s string) ([]byte, error)

Types

type UTF16LECodec

type UTF16LECodec struct {
	encoding.Encoding
}

func NewEncoding

func NewEncoding() *UTF16LECodec

func (*UTF16LECodec) Decode

func (c *UTF16LECodec) Decode(b []byte) (string, error)

func (*UTF16LECodec) Encode

func (c *UTF16LECodec) Encode(s string) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL