Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for appendHex (0.04 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            try (OutputStream out = file.openOutputStream(false)) {
                out.write(initial.getBytes("UTF-8"));
            }
    
            // Append additional content
            String append = "Appended content\n";
            try (OutputStream out = file.openOutputStream(true)) { // true = append mode
                out.write(append.getBytes("UTF-8"));
            }
    
            // Verify combined content
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    func (b *Writer) Available() int { return len(b.buf) - b.n }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    // passed to an immediately succeeding [Writer.Write] call.
    // The buffer is only valid until the next write operation on b.
    func (b *Writer) AvailableBuffer() []byte {
    	return b.buf[b.n:][:0]
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top