5 ms·err := binary.Read(bytes.NewReader(b), binary.LittleEndian, &i)by shurcooL 12y agoerr := binary.Read(bytes.NewReader(b), binary.LittleEndian, &i)codygman 12y agoThat's comparing Go's library call to a full implementation though.