Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustReadFull (0.59 sec)

  1. src/archive/tar/writer.go

    		}
    	}
    
    	// If the last fragment is a hole, then seek to 1-byte before EOF, and
    	// read a single byte to ensure the file is the right size.
    	if readLastByte && err == nil {
    		_, err = mustReadFull(rs, []byte{0})
    		sw.pos++
    	}
    
    	n = sw.pos - pos0
    	switch {
    	case err == io.EOF:
    		return n, io.ErrUnexpectedEOF
    	case err == ErrWriteTooLong:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top