 5978a0b8f5
			
		
	
	5978a0b8f5
	
	
	
		
			
			- Agent roles and coordination features - Chat API integration testing - New configuration and workspace management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			433 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			433 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package multibase
 | |
| 
 | |
| func hexEncodeToStringUpper(src []byte) string {
 | |
| 	dst := make([]byte, len(src)*2)
 | |
| 	hexEncodeUpper(dst, src)
 | |
| 	return string(dst)
 | |
| }
 | |
| 
 | |
| var hexTableUppers = [16]byte{
 | |
| 	'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
 | |
| 	'A', 'B', 'C', 'D', 'E', 'F',
 | |
| }
 | |
| 
 | |
| func hexEncodeUpper(dst, src []byte) int {
 | |
| 	for i, v := range src {
 | |
| 		dst[i*2] = hexTableUppers[v>>4]
 | |
| 		dst[i*2+1] = hexTableUppers[v&0x0f]
 | |
| 	}
 | |
| 
 | |
| 	return len(src) * 2
 | |
| }
 |