public class Masker extends Object
Modifier and Type | Method and Description |
---|---|
void |
generateMask() |
byte |
get() |
byte[] |
get(int size) |
byte[] |
getMask() |
void |
mask(byte[] bytes,
int location,
byte b) |
void |
mask(byte[] target,
int location,
byte[] bytes) |
byte[] |
maskAndPrepend(byte[] packet) |
void |
readMask() |
void |
setBuffer(Buffer buffer) |
byte |
unmask() |
byte[] |
unmask(int count) |
public Masker(Buffer buffer)
public Masker()
public byte get()
public byte[] get(int size)
public byte unmask()
public byte[] unmask(int count)
public void generateMask()
public void mask(byte[] bytes, int location, byte b)
public void mask(byte[] target, int location, byte[] bytes)
public byte[] maskAndPrepend(byte[] packet)
public void setBuffer(Buffer buffer)
public byte[] getMask()
public void readMask()
Copyright © 2015 Oracle Corporation. All rights reserved.