mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
parent
f37f081f15
commit
ac5cef1b66
2 changed files with 6 additions and 5 deletions
|
@ -22,9 +22,10 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
ReadonlyBytes raw_bytes() const
|
||||
ErrorOr<ReadonlyBytes> raw_bytes() const
|
||||
{
|
||||
VERIFY(m_unused_bits == 0);
|
||||
if (m_unused_bits != 0)
|
||||
return Error::from_string_literal("ASN1::Decoder: BitStringView contains unexpected partial bytes");
|
||||
return m_data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue