code: @Override
  	public int writeTo(BitWriter writer) {
  		int count = 0;
  		count += writer.writeBooleans(extension, size - start);
  		count += store.writeTo(writer);
  		count += writer.writeBooleans(extension, finish);
  		return count;
  	}
docs: I/O methods