(p []byte)
| 38 | } |
| 39 | |
| 40 | func unalignedLoad64(p []byte) (result uint64) { |
| 41 | return binary.LittleEndian.Uint64(p) |
| 42 | /* |
| 43 | if little { |
| 44 | result = binary.LittleEndian.Uint64(p) |
| 45 | } else { |
| 46 | result = binary.BigEndian.Uint64(p) |
| 47 | } |
| 48 | return result |
| 49 | */ |
| 50 | } |
| 51 | |
| 52 | func unalignedLoad32(p []byte) (result uint32) { |
| 53 | return binary.LittleEndian.Uint32(p) |
nothing calls this directly
no outgoing calls
no test coverage detected