ignore this
nothing happened
This commit is contained in:
parent
a6c96ef0b5
commit
550ab0e2ff
1 changed files with 12 additions and 1 deletions
|
@ -21,7 +21,18 @@ namespace Kneesocks {
|
|||
public byte[] Mask { get; set; }
|
||||
public byte Reserved { get; set; }
|
||||
|
||||
public byte[] Content { get; set; }
|
||||
public byte[] MaskedContent {
|
||||
get {
|
||||
byte[] ret = new byte[Content.Length];
|
||||
for(var i = 0; i < Content.Length; ++i)
|
||||
ret[i] = (byte)(Content[i] ^ Mask[i % 4]);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public static FromRaw(byte[] raw) {
|
||||
|
||||
public byte[] Content { get; private set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue