Lines Matching refs:data
105 my $data = substr($packet, $record_hdr_len, $len);
127 $data, # data
128 $data # decrypt_data
139 $data, # data
140 $data # decrypt_data
221 $data,
233 $data,
247 $data,
260 $data,
277 $data,
291 data => $data,
307 my $data = $self->data;
311 $data = substr($data, 16);
315 $data = substr($data, 0, length($data) - 20);
318 my $padval = unpack("C", substr($data, length($data) - 1));
321 $data = substr($data, 0, length($data) - ($padval + 1));
323 $self->decrypt_data($data);
324 $self->decrypt_len(length($data));
326 return $data;
334 my $data = $self->data;
348 return $data if (length($data) == 2);
353 $data = substr($data, 16);
356 my $padval = unpack("C", substr($data, length($data) - 1));
359 $data = substr($data, 0, length($data) - ($padval + 1));
363 $data = substr($data, 0, length($data) - $mactaglen);
367 my $content_type = unpack("C", substr($data, length($data) - 1));
369 $data = substr($data, 0, length($data) - 1);
372 $self->decrypt_data($data);
373 $self->decrypt_len(length($data));
375 return $data;
383 my $data;
392 $data = pack('n', $self->len | 0x8000);
398 $data = pack('Cnnnnnn', $self->content_type, $self->version,
402 $data = pack('Cnn', $self->outer_content_type, $self->version,
406 $data = pack('Cnn', $self->content_type, $self->version,
412 $data .= $self->data;
414 return $data;
448 sub data subroutine
452 $self->{data} = shift;
454 return $self->{data};