Converted string to buffer

This commit is contained in:
Connor Wood
2017-07-24 09:56:54 +01:00
parent c6ecf105ad
commit 82762863df

View File

@@ -147,6 +147,9 @@ impl AmlValue {
Ok(v)
},
AmlValue::String(ref s) => {
Ok(s.clone().into_bytes())
},
_ => Err(AmlError::AmlValueError)
}
}