Compare commits
	
		
			No commits in common. "ebd57f680a9da5b4a4ab8e4cb11c35e145393eab" and "2838b466fe6e631345d0edabee5a4e27a19b75f4" have entirely different histories. 
		
	
	
		
			ebd57f680a
			...
			2838b466fe
		
	
		|  | @ -1,22 +0,0 @@ | ||||||
| package hexadecabytes |  | ||||||
| 
 |  | ||||||
| import ( |  | ||||||
| 	"sourcecode.social/reiver/go-hexadeca/symbols/byte" |  | ||||||
| ) |  | ||||||
| 
 |  | ||||||
| // EncodeInt8 encodes the value of a int8 into hexadecimal.
 |  | ||||||
| func EncodeInt8(value int8, symbolFunc func(byte)byte) (mostSignificant byte, leastSignificant byte) { |  | ||||||
| 
 |  | ||||||
| 	mostSignificant  = symbolFunc( byte(0x0f & (value >> 4)) ) |  | ||||||
| 	leastSignificant = symbolFunc( byte(0x0f & (value     )) ) |  | ||||||
| 
 |  | ||||||
| 	return |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| func EncodeInt8UsingLowerCaseSymbols(value int8) (mostSignificant byte, leastSignificant byte) { |  | ||||||
| 	return EncodeInt8(value, bytesymbols.LowerCase) |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| func EncodeInt8UsingUpperCaseSymbols(value int8) (mostSignificant byte, leastSignificant byte) { |  | ||||||
| 	return EncodeInt8(value, bytesymbols.UpperCase) |  | ||||||
| } |  | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue