getlength method

int getlength()

Implementation

int getlength() {
  return (payload_size + HEADER_SIZE);
}