Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/go-lua
/ endianness
Function
endianness
undump.go:283–288 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
281
}
282
283
func
endianness() binary.ByteOrder {
284
if
x := 1; *(*byte)(unsafe.Pointer(&x)) == 1 {
285
return
binary.LittleEndian
286
}
287
return
binary.BigEndian
288
}
289
290
func
(state *loadState) checkHeader() error {
291
h := header
Callers
4
init
Function · 0.85
undump
Method · 0.85
readerOn
Function · 0.85
dump
Method · 0.85
Calls
no outgoing calls
Tested by
1
readerOn
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…