Variable-length frames (untested).

This commit is contained in:
akwizgran
2015-01-05 17:35:29 +00:00
parent d3bf2d59a1
commit 1f69f0d2f6
16 changed files with 147 additions and 368 deletions

View File

@@ -24,7 +24,7 @@ class TestStreamEncrypter implements StreamEncrypter {
}
public void writeFrame(byte[] payload, int payloadLength,
boolean finalFrame) throws IOException {
int paddingLength, boolean finalFrame) throws IOException {
if(writeTag) {
out.write(tag);
writeTag = false;