(remainingJsonBytes: number)
| 184 | } |
| 185 | |
| 186 | function getBase64DecodedByteBudget(remainingJsonBytes: number): number { |
| 187 | return Math.max(0, Math.floor(((remainingJsonBytes - 2) * 3) / 4)) |
| 188 | } |
| 189 | |
| 190 | function assertSelectedOutputBytes(value: unknown): number { |
| 191 | const bytes = getInlineJsonByteLength(value) ?? 0 |
no outgoing calls
no test coverage detected