We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rein1225/RPGMakerMZ_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
ascii.js•452 B
function byteLength(string) {
return string.length
}
function toString(buffer) {
const len = buffer.byteLength
let result = ''
for (let i = 0; i < len; i++) {
result += String.fromCharCode(buffer[i])
}
return result
}
function write(buffer, string) {
const len = buffer.byteLength
for (let i = 0; i < len; i++) {
buffer[i] = string.charCodeAt(i)
}
return len
}
module.exports = {
byteLength,
toString,
write
}