StringToLong

com.carlosedp.riscvassembler.ObjectUtils$.StringToLong
implicit class StringToLong(digits: String)

Convert a string in a specified base to a Long

Attributes

Returns

The Long converted from the string.

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def b: Long

Convert a string to a base 2 (binary) Long

Convert a string to a base 2 (binary) Long

Value parameters

b

The base of the string.

Attributes

Returns

The Long converted from the string.

def h: Long

Convert a string to a base 16 (hex) Long

Convert a string to a base 16 (hex) Long

Value parameters

b

The base of the string.

Attributes

Returns

The Long converted from the string.

def o: Long

Convert a string to a base 8 (octal) Long

Convert a string to a base 8 (octal) Long

Value parameters

b

The base of the string.

Attributes

Returns

The Long converted from the string.