lengthFromHeader static method

int lengthFromHeader(
  1. String header
)

Implementation

static int lengthFromHeader(String header) {
  // log("Length From header $header");
  String value = header.substring(4, 10);
  int l = int.tryParse(value, radix: 16) ?? 0;

  return l;
}