Versions in this module Expand all Collapse all v1 v1.0.4 Jul 20, 2023 v1.0.2 Jul 20, 2023 Changes in this version + func BytesToString(bs []byte) string + func Convert(src SRC) DST + func ConvertPointer(src *SRC) *DST + func Copy(dst, src unsafe.Pointer, size int) + func FromPointer(src *SRC) DST + func MakeBytes(ptr unsafe.Pointer, len, cap int) []byte + func MakeBytesUnchecked(ptr unsafe.Pointer, len, cap int) (bs []byte) + func MakeSlice(ptr unsafe.Pointer, len, cap int) []E + func MakeSliceUnchecked(ptr unsafe.Pointer, len, cap int) (es []E) + func MakeString(ptr unsafe.Pointer, len int) string + func SliceConvert(s []EI, len, cap int) []EO + func SliceMerge(s1, s2 []E) []E + func SlicePointer(s []E) unsafe.Pointer + func SliceStructToSlice(ss SliceStruct) []E + func StringToBytes(s string) []byte + func ToPointer(x X) unsafe.Pointer + func Unescape(op *O) *O + type Buffer struct + Buf []byte + LastRead int8 + Off int + func BufferOf(buf *bytes.Buffer) *Buffer + type BufferWriter struct + func NewBufferWriter(buf []byte) *BufferWriter + func (w *BufferWriter) Write(data []byte) + func (w *BufferWriter) WriteByte(b byte) + func (w *BufferWriter) WriteString(s string) + type BytesStruct SliceStruct + func BytesStructOf(bs []byte) BytesStruct + func BytesStructOfPtr(bsp *[]byte) *BytesStruct + func BytesStructOfString(s string) *BytesStruct + func (bss *BytesStruct) Bytes() []byte + func (bss *BytesStruct) ToString() string + func (bss *BytesStruct) ToStringStruct() StringStruct + type SliceStruct struct + Cap int + Len int + Ptr unsafe.Pointer + func SliceStructOf(s []E) SliceStruct + func SliceStructOfPtr(sp *[]E) *SliceStruct + type StringStruct struct + Len int + Ptr unsafe.Pointer + func StringStructOf(s string) StringStruct + func StringStructOfPtr(sp *string) *StringStruct + func (ss *StringStruct) Bytes() []byte + func (ss *StringStruct) ToBytesStruct() *BytesStruct + func (ss *StringStruct) ToString() string