ByteConv

Value members

Concrete methods

def fromNativeE(ps: ParseState): Either[String, Byte]

Inherited methods

def fromJson(json: String): Byte

Convert a Json String to type A. Returns A, or throws.

Convert a Json String to type A. Returns A, or throws.

Inherited from
NativeConverter
def fromJsonE(json: String): Either[String, Byte]

Convert a Json String to type A. Returns either A, or a String error.

Convert a Json String to type A. Returns either A, or a String error.

Inherited from
NativeConverter
def fromNative(nativeJs: Any): Byte

Convert a native Javascript type to Scala.js. Returns A, or throws.

Convert a native Javascript type to Scala.js. Returns A, or throws.

Inherited from
NativeConverter
def fromNativeE(nativeJs: Any): Either[String, Byte]

Convert a native Javascript type to Scala.js. Returns either A, or a String error.

Convert a native Javascript type to Scala.js. Returns either A, or a String error.

Inherited from
NativeConverter

Extensions

Extensions

extension (b: Byte)
def toNative: Any

Inherited extensions

extension (a: A)
def toJson: String

Convert type A to a JSON string

Convert type A to a JSON string

Inherited from
NativeConverter