{
    "id": "fb155-export-file",
    "title": "Выгрузить бинарное вложение в файл без накопления всего BLOB",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Созданный файл",
            "export.bin"
        ],
        [
            "Записано байт",
            81000
        ],
        [
            "Непустых порций чтения",
            10
        ],
        [
            "Самая большая порция, байт",
            8192
        ],
        [
            "Размер совпал с metadata",
            true
        ],
        [
            "SHA256 файла совпал с исходником",
            true
        ],
        [
            "Первые 9 байт в hex",
            "464231353500ff0d0a"
        ],
        [
            "SHA256 выгруженного файла",
            "8797cedecc25674df8d7c2204744a22c05338efb4c269311ef5194ea7d93ab9e"
        ]
    ],
    "checks": {
        "expected_byte_count": true,
        "metadata_length_matches": true,
        "bounded_chunks": true,
        "hash_matches": true,
        "binary_bytes_preserved": true,
        "file_size_matches": true,
        "both_handles_released": true,
        "owned_objects_removed": true
    },
    "observations": {
        "file": "export.bin",
        "bytes": 81000,
        "metadata_bytes": 81000,
        "chunk_request_bytes": 8192,
        "nonempty_chunks": 10,
        "maximum_chunk_bytes": 8192,
        "sha256": "8797cedecc25674df8d7c2204744a22c05338efb4c269311ef5194ea7d93ab9e",
        "expected_sha256": "8797cedecc25674df8d7c2204744a22c05338efb4c269311ef5194ea7d93ab9e",
        "prefix_hex": "464231353500ff0d0a",
        "entire_blob_accumulated_during_export": false,
        "fixture_created_in_memory_before_export": true
    },
    "runtime": {
        "php": "8.2.35",
        "extension": "3.0.1",
        "server_version": "5.0.4",
        "database": "phpmanual153",
        "transport": "embedded_local_file"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "FB155_EXPORT_D3A4B4A90B"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "FB155_EXPORT_D3A4B4A90B"
        }
    ]
}
