diff options
Diffstat (limited to 'gifed/src/block/extension/application.rs')
-rw-r--r-- | gifed/src/block/extension/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gifed/src/block/extension/application.rs b/gifed/src/block/extension/application.rs index 9ec1814..3d46277 100644 --- a/gifed/src/block/extension/application.rs +++ b/gifed/src/block/extension/application.rs @@ -1,11 +1,11 @@ pub struct Application { - pub(crate) identifier: String, // max len 8 + pub(crate) identifier: [u8; 8], pub(crate) authentication_code: [u8; 3], pub(crate) data: Vec<u8>, } impl Application { - pub fn identifier(&self) -> &str { + pub fn identifier(&self) -> &[u8] { &self.identifier } |