diff options
| author | Max Audron <audron@cocaine.farm> | 2021-03-09 17:18:22 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-03-09 17:18:22 +0100 |
| commit | 57e0309994be634f3935cf981d4b1ce60b481aba (patch) | |
| tree | b6a5f9cfc28e6aa7ce4e6b9bbc41faa76003984e /src/primitive/string.rs | |
| parent | add to and from network derive (diff) | |
WIP: impl signalproxy types
Diffstat (limited to 'src/primitive/string.rs')
| -rw-r--r-- | src/primitive/string.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/primitive/string.rs b/src/primitive/string.rs index 590c529..7ea838d 100644 --- a/src/primitive/string.rs +++ b/src/primitive/string.rs @@ -10,6 +10,8 @@ use log::trace; use crate::util; use crate::{Deserialize, DeserializeUTF8, Serialize, SerializeUTF8}; +pub type ByteArray = String; + /// We Shadow the String type here as we can only use impl on types in our own scope. /// /// Strings are serialized as an i32 for the length in bytes, then the chars represented in UTF-16 in bytes. |
