Connection
Base URL, credentials and a reachable server.
Read a binary field only after validating the buffer length. Test truncated input, byte order and boundary offsets without reading beyond the supplied bytes.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
if (offset + fieldSize > bytes.length) {
return truncatedInput(offset);
}
return decodeField(bytes, offset);