babygo icon indicating copy to clipboard operation
babygo copied to clipboard

memcopy for string conversion (from/to)

Open DQNEO opened this issue 4 years ago • 0 comments

Consider these cases

str := string(slice)
slice[0] = 'X'
str := "hello"
slice := []byte(str)
slice[0] = 'X'

DQNEO avatar May 14 '20 14:05 DQNEO