(state: CameraViewState)
| 68 | * Encode camera state to URL hash string. |
| 69 | */ |
| 70 | export function encodeCameraState(state: CameraViewState): string { |
| 71 | return `c=${toBase64Url(encodeCameraStateBinary(state))}`; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Decode camera state from raw bytes (72 bytes). |
no test coverage detected