wstring

package
v0.0.0-...-9841dc2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WString

type WString struct {
	// contains filtered or unexported fields
}

func NewWString

func NewWString() *WString

func (*WString) Get

func (s *WString) Get() []byte

Get returns a slice of the string data. Note that there is no copying here. Do NOT mess with return value. It is a const char* in C++ and is readonly.

func (*WString) Set

func (s *WString) Set(data []byte)

Set assigns the C++ string to the given data. There is copying here.

func (*WString) Size

func (s *WString) Size() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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