Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for encInt16Slice (0.17 sec)

  1. src/encoding/gob/enc_helpers.go

    	return true
    }
    
    func encInt16Array(state *encoderState, v reflect.Value) bool {
    	// Can only slice if it is addressable.
    	if !v.CanAddr() {
    		return false
    	}
    	return encInt16Slice(state, v.Slice(0, v.Len()))
    }
    
    func encInt16Slice(state *encoderState, v reflect.Value) bool {
    	slice, ok := v.Interface().([]int16)
    	if !ok {
    		// It is kind int16 but not type int16. TODO: We can handle this unsafely.
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 9.9K bytes
    - Viewed (0)
Back to top