Explorer

std.base64-unpadded-length

description
The length without the trailing = characters
type
Fn(codes: List<Number>, length: Number) -> Number
expression
fn(codes$0, length$1) =>
  match @core.list-get(list: $0, index: @core.minus(left: $1, right: 1)) {
    #some(61) =>
      @std.base64-unpadded-length(codes: $0, length: @core.minus(left: $1, right: 1)),
    _ =>
      $1
  }
visibility
public
std.base64-unpadded-length (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: -jWqhJJkctz8Hkov3NvazIYtko3h52YVaO1GwfWsmoU
content hash: uZX0YYzpnk_Y-fk0KiweCOBXx05oZmjc8RWrz7BJtpE