- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleByteOrder_put (0.25 sec)
-
src/encoding/binary/example_test.go
} fmt.Println(data.PI) fmt.Println(data.Uate) fmt.Printf("% x\n", data.Mine) fmt.Println(data.Too) // Output: // 3.141592653589793 // 255 // 01 02 03 // 61374 } func ExampleByteOrder_put() { b := make([]byte, 4) binary.LittleEndian.PutUint16(b[0:], 0x03e8) binary.LittleEndian.PutUint16(b[2:], 0x07d0) fmt.Printf("% x\n", b) // Output: // e8 03 d0 07 } func ExampleByteOrder_get() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 3.2K bytes - Viewed (0)