This commit is contained in:
mat 2022-08-24 21:03:05 -05:00
parent e33d57e767
commit c64f10605b

View file

@ -116,7 +116,7 @@ impl Tag {
}
#[inline]
pub fn as_bytearray(&self) -> Option<&Vec<i8>> {
pub fn as_bytearray(&self) -> Option<&[u8]> {
if let Tag::ByteArray(v) = self {
Some(v)
} else {