On Thu, Aug 16, 2018 at 5:29 AM <naveen.b.neelaka...@gmail.com> wrote:

> char str[384];

> Str [384]string

The counterpart to C.char is uint8 aka byte. IOW

struct foo {
        char bar[42];
}

corresponds to

type foo struct {
        bar [42]byte
}

-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to