Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mybytes (0.35 sec)

  1. doc/go_spec.html

    <li>
    Converting a value of a string type to a slice of bytes type
    yields a non-nil slice whose successive elements are the bytes of the string.
    
    <pre>
    []byte("hellø")             // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}
    []byte("")                  // []byte{}
    
    bytes("hellø")              // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}
    
    []myByte("world!")          // []myByte{'w', 'o', 'r', 'l', 'd', '!'}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    // returned.
    //
    // If flow control prevents consuming any bytes, this returns (_, _, 0). If
    // the entire frame was consumed, this returns (wr, _, 1). Otherwise, this
    // returns (consumed, rest, 2), where 'consumed' contains the consumed bytes and
    // 'rest' contains the remaining bytes. The consumed bytes are deducted from the
    // underlying stream's flow control budget.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top