Application is supposed to run on docker and base image for this docker is
fixed. i.e ubuntu 18 always.

Looks like I need to parse slice of bytes one by one. gopacket has support
for packet parsing but it dont support dlna packets.
Any pointers apart from this will be helpful

On Tue, 21 Apr 2020 at 11:44 PM, Jan Mercl <0xj...@gmail.com> wrote:

> On Tue, Apr 21, 2020 at 6:08 PM Rakesh K R <rakeshkr1...@gmail.com> wrote:
>
> > In C, we used to typecast this array of uint8_t to predefined structure.
>
> Go has no casts. Regardless, one can do something similar using
> unsafe. But then - how it's planned to deal with the situation when
> the machine endianess does not match the order of the bytes in the
> packet?
>
-- 
null

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAJiiZ3442BhhEawi%3DMr-XDSgJOoQZDUScvGPfzp%2BWW3yE%3D75Cw%40mail.gmail.com.

Reply via email to