code: func appendRemainingLength(b []byte, rl uint32) []byte {
  	// Append the Remaining Length to the slice.
  	switch {
  	case rl&0xFF000000 > 0:
  		b = append(b, byte((rl&0xFF000000)>>24))
  		fallthrough
  	case rl&0x00FF0000 > 0:
  		b = append(b, byte((rl&0x00FF0000)>>16))
  		fallthrough
  	case rl&0x0000FF00 > 0:
  		b = append(b, byte((rl&0x0000FF00)>>8))
  		fallthrough
  	default:
  		b = append(b, byte(rl&0x000000FF))
  	}
  
  	// Return the slice.
  	return b
  }
docs: // appendRemainingLength appends the Remaining Length
  // to the slice and returns it.