public long sizeInBytes() {
    return FILE_NAME_FIELD_SIZE_IN_BYTES + fileName.length() + FILE_SIZE_FIELD_SIZE_IN_BYTES;
  }
Returns the size of the FileInfo object in bytes.
ambry-api/src/main/java/com/github/ambry/store/StoreFileInfo.java