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
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- 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
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to any2stringadd[HexStringSyntax] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (HexStringSyntax, B)
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to ArrowAssoc[HexStringSyntax] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (HexStringSyntax) ⇒ Boolean, msg: ⇒ Any): HexStringSyntax
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to Ensuring[HexStringSyntax] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (HexStringSyntax) ⇒ Boolean): HexStringSyntax
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to Ensuring[HexStringSyntax] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): HexStringSyntax
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to Ensuring[HexStringSyntax] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): HexStringSyntax
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to Ensuring[HexStringSyntax] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to StringFormat[HexStringSyntax] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
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
s
interpolator but they must be of typeByteVector
. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val sc: StringContext
-
def
toString(): String
- Definition Classes
- Any
-
def
→[B](y: B): (HexStringSyntax, B)
- Implicit
- This member is added by an implicit conversion from HexStringSyntax to ArrowAssoc[HexStringSyntax] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc