pushIndefinite method

void pushIndefinite(
  1. int majorTag
)

Append a special byte representing indefinite length for the provided major tag.

Implementation

void pushIndefinite(int majorTag) {
  majorTag <<= 5;
  pushBytes([majorTag | NumBytes.indefinite]);
}