code: func AppendByteChecked(
  	bytes checked.Bytes,
  	b byte,
  	pool CheckedBytesPool,
  ) (
  	result checked.Bytes,
  	swapped bool,
  ) {
  	orig := bytes
  
  	if bytes.Len() == bytes.Cap() {
  		newBytes := pool.Get(bytes.Cap() * 2)
  
  		// Inc the ref to read/write to it
  		newBytes.IncRef()
  		newBytes.Resize(bytes.Len())
  
  		copy(newBytes.Bytes(), bytes.Bytes())
  
  		bytes = newBytes
  	}
  
  	bytes.Append(b)
  
  	result = bytes
  	swapped = orig != bytes
  
  	if swapped {
  		// No longer holding reference from the inc
  		result.DecRef()
  	}
  
  	return
  }
docs: // AppendByteChecked appends a byte to a byte slice getting a new slice from
  // the CheckedBytesPool if the slice is at capacity