Attempting to use $bvar(&var,N).long when there are only 1 or 2 bytes available at the given position returns $null - oddly enough, it works fine if there are 3 bytes available (one would expect this bug to occur when there are fewer than 4 bytes available).

Code:
bvartest {
  bset -t &test5 1 AAAAA
  echo -a 5 bytes: $bvar(&test5,1).long
  bset -t &test4 1 AAAA
  echo -a 4 bytes: $bvar(&test4,1).long
  bset -t &test3 1 AAA
  echo -a 3 bytes: $bvar(&test3,1).long
  bset -t &test2 1 AA
  echo -a 2 bytes: $bvar(&test2,1).long
  bset -t &test1 1 A
  echo -a 1 byte: $bvar(&test1,1).long
}


* Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another