lib/SteamCondenser/ByteBuffer.php
public function put($sourceByteArray) {
        $newPosition = min($this->remaining(), strlen($sourceByteArray));
        $this->byteArray = substr_replace($this->byteArray, $sourceByteArray, $this->position, $newPosition);
        $this->position = $newPosition;

        return $this;
    }
public function put($sourceByteArray) {
        $newPosition = min($this->remaining(), strlen($sourceByteArray));
        $this->byteArray = substr_replace($this->byteArray, $sourceByteArray, $this->position, $newPosition);
        $this->position = $newPosition;

        return $this;
    }
Replaces the contents of the byte buffer with the bytes from the source
string beginning at the current <var>position</var>

@param string $sourceByteArray The string to take bytes from
@return ByteBuffer This byte buffer