Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quasseldroid-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
quasseldroid-docs
Commits
35548ae3
Verified
Commit
35548ae3
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Improve description of signalproxy objects
parent
429ec00c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/protocol/serialization/primitive_objects.md
+19
-0
19 additions, 0 deletions
docs/protocol/serialization/primitive_objects.md
docs/protocol/serialization/signalproxy_objects.md
+590
-157
590 additions, 157 deletions
docs/protocol/serialization/signalproxy_objects.md
with
609 additions
and
157 deletions
docs/protocol/serialization/primitive_objects.md
+
19
−
0
View file @
35548ae3
...
...
@@ -7,6 +7,25 @@ Serialization of basic types is trivial and will not be discussed here.
Primitive types are serialized by serializing each of their fields
sequentially.
## Type Aliases
Certain types have a representation which is identical to a pre-existing type
in this document. For this reason, we do not define them twice, but list the
type whose network representation they borrow here:
|Type name | Network representation |
|-------------- | ---------------------- |
|BufferId |
`Int`
|
|IdentityId |
`Int`
|
|NetworkId |
`Int`
|
|MsgId |
`Long`
|
|PeerPtr |
`Long`
|
|IrcUser |
`QVariantMap`
|
|IrcChannel |
`QVariantMap`
|
|Identity |
`QVariantMap`
|
|NetworkInfo |
`QVariantMap`
|
|Network::Server|
`QVariantMap`
|
## String
Strings are serialized as a signed int of the length in bytes plus their content
...
...
This diff is collapsed.
Click to expand it.
docs/protocol/serialization/signalproxy_objects.md
+
590
−
157
View file @
35548ae3
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment