{
return new WebSocketFrame(OpCode.BINARY).setPayload(buf);
<BUG>}
public static WebSocketFrame binary()
{
return new WebSocketFrame(OpCode.BINARY);</BUG>
}
public static WebSocketFrame text()
{
return new WebSocketFrame(OpCode.TEXT);

{
public static final int MAX_CONTROL_PAYLOAD = 125;
public static WebSocketFrame binary()
{
return new WebSocketFrame(OpCode.BINARY);
}
public static WebSocketFrame binary(byte buf[])
{
return new WebSocketFrame(OpCode.BINARY).setPayload(buf);
}
public static WebSocketFrame text()
{
return new WebSocketFrame(OpCode.TEXT);
