encoding

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Amf3ToJSON

func Amf3ToJSON(raw []byte, indent int) ([]byte, error)

Amf3ToJSON converts Adobe AMF3 to JSON.

func FitPNG added in v0.9.0

func FitPNG(src []byte, width int, height int) ([]byte, error)

func Flatten

func Flatten[S ~[]E, E any](slices []S) []E

func JSONToAmf3 added in v0.17.0

func JSONToAmf3(js []byte) ([]byte, error)

JSONToAmf3 converts JSON to Adobe AMF3

func JSONToOrderedmap added in v0.14.0

func JSONToOrderedmap(jsonData []byte) ([]byte, error)

JSONToOrderedmap converts JSON back to WF orderedmap.

func OrderedmapToJSON

func OrderedmapToJSON(raw []byte, indent int, flattenCSV bool) ([]byte, error)

OrderedmapToJSON converts WF orderedmap to JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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