implicit final class HexStringSyntax extends AnyVal
Provides the hex string interpolator, which returns ByteVector instances from hexadecimal strings.
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HexStringSyntax
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HexStringSyntax(sc: StringContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
macro
def
hex(args: ByteVector*): ByteVector
Converts this hexadecimal literal string to a
ByteVector.Converts this hexadecimal literal string to a
ByteVector. Whitespace characters are ignored.Named arguments are supported in the same manner as the standard
sinterpolator but they must be of typeByteVector. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val sc: StringContext
-
def
toString(): String
- Definition Classes
- Any