code: private void setGatewayIdDependentOffsets(String gatewayId) {
          gwCountersLblBuffersReferenceOffset = GW_ID_OFFSET + gatewayId.length() + BitUtil.SIZE_OF_INT;
          gwCountersLblBuffersLengthOffset = gwCountersLblBuffersReferenceOffset + BitUtil.SIZE_OF_INT;
          gwCountersValueBuffersReferenceOffset = gwCountersLblBuffersLengthOffset + BitUtil.SIZE_OF_INT;
          gwCountersValueBuffersLengthOffset = gwCountersValueBuffersReferenceOffset + BitUtil.SIZE_OF_INT;
          noOfServicesOffset = gwCountersValueBuffersLengthOffset + BitUtil.SIZE_OF_INT;
          serviceDataOffset = noOfServicesOffset;
      }
docs: Method setting gatewayId dependent offsets
  @param gatewayId