src/org/kocakosm/pitaya/util/ByteBuffer.java
public ByteBuffer append(byte b)
	{
		int newCount = count + 1;
		ensureCapacity(newCount);
		buf[count] = b;
		count = newCount;
		return this;
	}
public ByteBuffer append(byte b)
	{
		int newCount = count + 1;
		ensureCapacity(newCount);
		buf[count] = b;
		count = newCount;
		return this;
	}
Writes the given byte to this buffer.

@param b the byte to write.

@return this object.