implicit final class BinStringSyntax extends AnyVal
Provides the bin
string interpolator, which returns BitVector
instances from binary strings.
- Source
- package.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- BinStringSyntax
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BinStringSyntax(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 BinStringSyntax to any2stringadd[BinStringSyntax] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (BinStringSyntax, B)
- Implicit
- This member is added by an implicit conversion from BinStringSyntax to ArrowAssoc[BinStringSyntax] 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
-
macro
def
bin(args: BitVector*): BitVector
Converts this binary literal string to a
BitVector
.Converts this binary literal string to a
BitVector
. Whitespace characters are ignored.Named arguments are supported in the same manner as the standard
s
interpolator but they must be of typeBitVector
. -
def
ensuring(cond: (BinStringSyntax) ⇒ Boolean, msg: ⇒ Any): BinStringSyntax
- Implicit
- This member is added by an implicit conversion from BinStringSyntax to Ensuring[BinStringSyntax] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (BinStringSyntax) ⇒ Boolean): BinStringSyntax
- Implicit
- This member is added by an implicit conversion from BinStringSyntax to Ensuring[BinStringSyntax] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): BinStringSyntax
- Implicit
- This member is added by an implicit conversion from BinStringSyntax to Ensuring[BinStringSyntax] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): BinStringSyntax
- Implicit
- This member is added by an implicit conversion from BinStringSyntax to Ensuring[BinStringSyntax] 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 BinStringSyntax to StringFormat[BinStringSyntax] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val sc: StringContext
-
def
toString(): String
- Definition Classes
- Any
-
def
→[B](y: B): (BinStringSyntax, B)
- Implicit
- This member is added by an implicit conversion from BinStringSyntax to ArrowAssoc[BinStringSyntax] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc