Explorer

html-ui.hex-at

description
type
Fn(bytes: List<Number>, index: Number) -> Number
expression
fn(bytes$0, index$1) =>
  match @core.list-get(list: $0, index: $1) {
    #some(byte$2) =>
      @definy.text-hex-value(byte: $2),
    #none(_) =>
      @core.minus(left: 0, right: 1)
  }
visibility
public
html-ui.hex-at (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ)
id: _bmZsGIY6H28gEE5orV1M_fcGEsBE1IZRZt0GKvIw2A
content hash: eniz6Ia6vTbw3PndMMTSUeG_Q4I8kNDh6VokdjvJP10