Header menu logo B2R2

String Module

Provides useful functions for handling string values.

Functions and values

Function or value Description

String.fromBytes bs

Full Usage: String.fromBytes bs

Parameters:
    bs : byte[]

Returns: String

Converts a byte array to a string.

bs : byte[]
Returns: String

String.toBytes str

Full Usage: String.toBytes str

Parameters:
    str : string

Returns: byte array

Converts a string to a byte array.

str : string
Returns: byte array

String.wrapAngleBracket s

Full Usage: String.wrapAngleBracket s

Parameters:
    s : string

Returns: string

Wraps a string with a pair of curly brackets.

s : string
Returns: string

String.wrapParen s

Full Usage: String.wrapParen s

Parameters:
    s : string

Returns: string

Wraps a string with a pair of parentheses.

s : string
Returns: string

String.wrapSqrdBracket s

Full Usage: String.wrapSqrdBracket s

Parameters:
    s : string

Returns: string

Wraps a string with a pair of square brackets.

s : string
Returns: string

Type something to start searching.