| 1 | package CBOR::Free::X::CannotDecode64Bit; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use parent qw( CBOR::Free::X::Base ); | ||
| 7 | |||
| 8 | sub _new { | ||
| 9 | my ($class, $numhex, $offset) = @_; | ||
| 10 | |||
| 11 | return $class->SUPER::_new( sprintf('The CBOR buffer contains a 64-bit number(0x%s) at offset %d that this system cannot decode.', $numhex, $offset) ) | ||
| 12 | } | ||
| 13 | |||
| 14 | 1; |