Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
briar
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
Model registry
Operate
Environments
Monitor
Incidents
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
Julian Dehm
briar
Commits
eba68842
Commit
eba68842
authored
13 years ago
by
akwizgran
Browse files
Options
Downloads
Patches
Plain Diff
Javadocs.
parent
e589d44d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
api/net/sf/briar/api/transport/ConnectionWriter.java
+3
-3
3 additions, 3 deletions
api/net/sf/briar/api/transport/ConnectionWriter.java
components/net/sf/briar/transport/ConnectionEncrypter.java
+2
-3
2 additions, 3 deletions
components/net/sf/briar/transport/ConnectionEncrypter.java
with
5 additions
and
6 deletions
api/net/sf/briar/api/transport/ConnectionWriter.java
+
3
−
3
View file @
eba68842
...
...
@@ -12,9 +12,9 @@ public interface ConnectionWriter {
OutputStream
getOutputStream
();
/**
* Returns the number of
encrypted and authenticated bytes that can be
*
written without wri
ting more than the given number of bytes, including
*
encryption and
authentication overhead.
* Returns the number of
bytes that can be written to this writer without
*
output
ting more than the given number of bytes, including
encryption and
* authentication overhead.
*/
long
getCapacity
(
long
capacity
);
}
This diff is collapsed.
Click to expand it.
components/net/sf/briar/transport/ConnectionEncrypter.java
+
2
−
3
View file @
eba68842
...
...
@@ -13,9 +13,8 @@ interface ConnectionEncrypter {
void
writeMac
(
byte
[]
mac
)
throws
IOException
;
/**
* Returns the number of encrypted bytes that can be written without
* writing more than the given number of bytes, including encryption
* overhead.
* Returns the number of bytes that can be encrypted without outputting
* more than the given number of bytes, including encryption overhead.
*/
long
getCapacity
(
long
capacity
);
}
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