Documentation ¶
Index ¶
- func Dump(typ reflect.Type)
- func FieldOf(typ reflect.Type, name string) *reflect.StructField
- func Get16ElementsByteArray(ptr unsafe.Pointer, field *reflect.StructField) [16]byte
- func GetPtr(ptr unsafe.Pointer, field *reflect.StructField) unsafe.Pointer
- func GetUint16(ptr unsafe.Pointer, field *reflect.StructField) uint16
- func GetUint32(ptr unsafe.Pointer, field *reflect.StructField) uint32
- func GetUint8(ptr unsafe.Pointer, field *reflect.StructField) uint8
- func Htonl(i uint32) uint32
- func Htons(i uint16) uint16
- func Int2ip(nn uint32) net.IP
- func Ip2int(ip net.IP) uint32
- func Ntohl(i uint32) uint32
- func Ntohs(i uint16) uint16
- func Set16ElementsByteArray(ptr unsafe.Pointer, field *reflect.StructField, val [16]byte)
- func SetUint16(ptr unsafe.Pointer, field *reflect.StructField, val uint16)
- func SetUint32(ptr unsafe.Pointer, field *reflect.StructField, val uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get16ElementsByteArray ¶
func Get16ElementsByteArray(ptr unsafe.Pointer, field *reflect.StructField) [16]byte
func Set16ElementsByteArray ¶
func Set16ElementsByteArray(ptr unsafe.Pointer, field *reflect.StructField, val [16]byte)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.