docs: public static int sizeForMessage(NDArrayMessageChunk chunk) {
          int messageTypeSize = 4;
          int indexSize = 4;
          int numChunksSize = 4;
          int chunkSizeSize = 4;
          int idLengthSize = 4;
          return idLengthSize + messageTypeSize + indexSize + chunkSizeSize + numChunksSize + chunk.getData().limit()
                          + chunk.getId().getBytes().length;
  
      }