Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for skipHeader (0.08 sec)

  1. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    		return false
    	}
    
    	if !present {
    		*out = defaultValue
    		return true
    	}
    
    	return child.ReadASN1Boolean(out)
    }
    
    func (s *String) readASN1(out *String, outTag *asn1.Tag, skipHeader bool) bool {
    	if len(*s) < 2 {
    		return false
    	}
    	tag, lenByte := (*s)[0], (*s)[1]
    
    	if tag&0x1f == 0x1f {
    		// ITU-T X.690 section 8.1.2
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    // the provided Writer w.
    func NopCloser(w io.Writer) io.WriteCloser {
    	return nopCloser{w}
    }
    
    // SkipReader skips a given number of bytes and then returns all
    // remaining data.
    type SkipReader struct {
    	io.Reader
    
    	skipCount int64
    }
    
    func (s *SkipReader) Read(p []byte) (int, error) {
    	l := int64(len(p))
    	if l == 0 {
    		return 0, nil
    	}
    	for s.skipCount > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top