Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AppendByteOrder (0.3 sec)

  1. src/encoding/binary/native_endian_big.go

    package binary
    
    type nativeEndian struct {
    	bigEndian
    }
    
    // NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 466 bytes
    - Viewed (0)
  2. src/encoding/binary/native_endian_little.go

    package binary
    
    type nativeEndian struct {
    	littleEndian
    }
    
    // NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 504 bytes
    - Viewed (0)
  3. api/go1.19.txt

    pkg encoding/binary, type AppendByteOrder interface { AppendUint16, AppendUint32, AppendUint64, String } #50601
    pkg encoding/binary, type AppendByteOrder interface, AppendUint16([]uint8, uint16) []uint8 #50601
    pkg encoding/binary, type AppendByteOrder interface, AppendUint32([]uint8, uint32) []uint8 #50601
    pkg encoding/binary, type AppendByteOrder interface, AppendUint64([]uint8, uint64) []uint8 #50601
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  4. src/encoding/binary/binary.go

    	PutUint16([]byte, uint16)
    	PutUint32([]byte, uint32)
    	PutUint64([]byte, uint64)
    	String() string
    }
    
    // AppendByteOrder specifies how to append 16-, 32-, or 64-bit unsigned integers
    // into a byte slice.
    //
    // It is implemented by [LittleEndian], [BigEndian], and [NativeEndian].
    type AppendByteOrder interface {
    	AppendUint16([]byte, uint16) []byte
    	AppendUint32([]byte, uint32) []byte
    	AppendUint64([]byte, uint64) []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. src/encoding/binary/binary_test.go

    	}()
    	b := [8]byte{}
    	LittleEndian.PutUint64(b[:4], 0x0102030405060708)
    	return false
    }
    
    func TestByteOrder(t *testing.T) {
    	type byteOrder interface {
    		ByteOrder
    		AppendByteOrder
    	}
    	buf := make([]byte, 8)
    	for _, order := range []byteOrder{LittleEndian, BigEndian} {
    		const offset = 3
    		for _, value := range []uint64{
    			0x0000000000000000,
    			0x0123456789abcdef,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"RawStdEncoding", Var, 5},
    		{"RawURLEncoding", Var, 5},
    		{"StdEncoding", Var, 0},
    		{"StdPadding", Const, 5},
    		{"URLEncoding", Var, 0},
    	},
    	"encoding/binary": {
    		{"AppendByteOrder", Type, 19},
    		{"AppendUvarint", Func, 19},
    		{"AppendVarint", Func, 19},
    		{"BigEndian", Var, 0},
    		{"ByteOrder", Type, 0},
    		{"LittleEndian", Var, 0},
    		{"MaxVarintLen16", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top