constructor(type, buffer) {
    super(buffer)
    this.type = type
    this.lastValue = undefined
    this.count = 0
    this.state = undefined
  }
Counterpart to RLEEncoder: reads values from an RLE-compressed sequence,
returning nulls and repeated values as required.