mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:10:06 +00:00 
			
		
		
		
	Add bytes to string function
This commit is contained in:
		
							parent
							
								
									8d706c463c
								
							
						
					
					
						commit
						94726631cb
					
				
					 3 changed files with 103 additions and 0 deletions
				
			
		|  | @ -9,6 +9,16 @@ namespace scwx | |||
| namespace util | ||||
| { | ||||
| 
 | ||||
| /**
 | ||||
|  * @brief Print the number of bytes using a dynamic suffix and limited number of | ||||
|  * decimal points. | ||||
|  * | ||||
|  * @param [in] bytes Number of bytes | ||||
|  * | ||||
|  * @return Human readable size string | ||||
|  */ | ||||
| std::string BytesToString(std::ptrdiff_t bytes); | ||||
| 
 | ||||
| /**
 | ||||
|  * @brief Parse a list of tokens from a string | ||||
|  * | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat