private void ensureDataCapacity(int remaining) {
        if (myDataPointer + remaining > myData.length) myData = Arrays.copyOf(myData, myData.length * 2);
      }
private void ensureDataCapacity(int remaining)