Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/typescript-sdk
/ append
Method
append
src/shared/stdio.ts:9–11 ·
view source on GitHub ↗
(chunk: Buffer)
Source
from the content-addressed store, hash-verified
7
private _buffer?: Buffer;
8
9
append(chunk: Buffer): void {
10
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
11
}
12
13
readMessage(): JSONRPCMessage | null {
14
if
(!this._buffer) {
Callers
6
stdio.test.ts
File · 0.80
write
Function · 0.80
start
Method · 0.80
startAuthorization
Function · 0.80
StdioServerTransport
Class · 0.80
exchangeAuthorizationCode
Method · 0.80
Calls
no outgoing calls
Tested by
1
write
Function · 0.64