pyunicode

package
v9.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsString

func AsString(unicode *python.PyObject) string

AsString PyUnicode_AsUTF8

func Check

func Check(o *python.PyObject) bool

Check PyUnicode_Check

func CheckExact

func CheckExact(o *python.PyObject) bool

CheckExact PyUnicode_CheckExact

func CopyCharacters

func CopyCharacters(to *python.PyObject, toStart int, from *python.PyObject, fromStart, howMany int) int

CopyCharacters PyUnicode_CopyCharacters

func Fill

func Fill(unicode *python.PyObject, start, length int, fillChar rune) int

Fill PyUnicode_Fill

func FromEncodedObject

func FromEncodedObject(obj *python.PyObject, encoding string, errors string) *python.PyObject

FromEncodedObject PyUnicode_FromEncodedObject

func FromString

func FromString(u string) *python.PyObject

FromString PyUnicode_FromString

func GetLength

func GetLength(unicode *python.PyObject) int

GetLength PyUnicode_GetLength

func New

func New(size int, maxchar rune) *python.PyObject

New PyUnicode_New

func ReadChar

func ReadChar(unicode *python.PyObject, index int) rune

ReadChar PyUnicode_ReadChar

func Substring

func Substring(str *python.PyObject, start, end int) *python.PyObject

Substring PyUnicode_Substring

func WriteChar

func WriteChar(unicode *python.PyObject, index int, character rune) int

WriteChar PyUnicode_WriteChar

Types

This section is empty.

Jump to

Keyboard shortcuts

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