See https://golang.org/doc/faq#convert_slice_with_same_underlying_type

On Wednesday, 24 January 2018 13:57:59 UTC+1, di...@veryhaha.com wrote:
>
> except unsafe ways.
>

Yes: explicit loop.

Why did you do type MyByte byte in the first place?
Extra methods on your byte?

V. 

-- 
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