initial commits
							parent
							
								
									70d720b8dd
								
							
						
					
					
						commit
						039e75f35a
					
				|  | @ -24,6 +24,7 @@ Package **hexadeca** has functions for hexadecimal encoding and decoding for the | ||||||
| * `uint16`, | * `uint16`, | ||||||
| * `uint32` | * `uint32` | ||||||
| * `uint64` | * `uint64` | ||||||
|  | * `int8` | ||||||
| * `int16` | * `int16` | ||||||
| * `int32` | * `int32` | ||||||
| * `int64` | * `int64` | ||||||
|  |  | ||||||
|  | @ -0,0 +1,18 @@ | ||||||
|  | package hexadeca | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"sourcecode.social/reiver/go-hexadeca/bytes" | ||||||
|  | 	"sourcecode.social/reiver/go-hexadeca/runes" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | func EncodeInt8UsingLowerCaseSymbols(value int8) (mostSignificant byte, leastSignificant byte) { | ||||||
|  | 	return hexadecabytes.EncodeInt8UsingLowerCaseSymbols(value) | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func EncodeInt8UsingPersianSymbols(value int8) (mostSignificant rune, leastSignificant rune) { | ||||||
|  | 	return hexadecarunes.EncodeInt8UsingPersianSymbols(value) | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func EncodeInt8UsingUpperCaseSymbols(value int8) (mostSignificant byte, leastSignificant byte) { | ||||||
|  | 	return hexadecabytes.EncodeInt8UsingUpperCaseSymbols(value) | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue