Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intDataSize (0.72 sec)

  1. src/encoding/binary/binary.go

    	clear(e.buf[e.offset : e.offset+n])
    	e.offset += n
    }
    
    // intDataSize returns the size of the data required to represent the data when encoded,
    // and optionally a byte slice containing the encoded data if no conversion is necessary.
    // It returns zero, nil if the type cannot be implemented by the fast path in Read or Write.
    func intDataSize(data any) (int, []byte) {
    	switch data := data.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top