int getTotalLength() {
    checkBytes();
    return getTotalLength(currentBytes, offset);
  }
@return length of serialized TimestampWritableV2 data. As a side effect, populates the internal
        byte array if empty.
serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritableV2.java