Browse Source

minor fix

master
Nikita 11 years ago
parent
commit
ea56354fb4
  1. 2
      src/main/java/com/corundumstudio/socketio/parser/Encoder.java

2
src/main/java/com/corundumstudio/socketio/parser/Encoder.java

@ -246,7 +246,7 @@ public class Encoder {
} }
} }
public int encodePacketWithLength(Packet packet, ByteBuf buffer) throws IOException {
private int encodePacketWithLength(Packet packet, ByteBuf buffer) throws IOException {
int start = buffer.writerIndex(); int start = buffer.writerIndex();
encodePacket(packet, buffer); encodePacket(packet, buffer);
return charsScanner.getLength(buffer, start); return charsScanner.getLength(buffer, start);

Loading…
Cancel
Save