Questions tagged [file-formats]
The file-formats tag has no summary.
24 questions
7
votes
2
answers
360
views
Why GUID Partition Table data lack the sector size?
The GPT (GUID Partition Table) is the most accepted modern standard for partitioning of a data storage device. Its unit for the offset and size of a partition is so-called sector*. Is it a well-...
-1
votes
1
answer
212
views
Why do HTML and JS feel slow on smartphones? What could be changed to make them faster? [closed]
HTML rendering and javascript engines are very optimized, so why do they feel slow on smartphones?
It seems that HTML's low performance justified the creation of mobiles "apps" which are ...
-3
votes
1
answer
109
views
Is it possible to extend gifs to support audio? [closed]
Can the file format gif be extended to support audio as well?
I was looking into gifs that support audio and the main gif sites with "audio gifs" are just looping videos. The problem is how ...
0
votes
5
answers
259
views
Choosing a MagicNumber or Signature for a Binary File Format
I'm defining some binary formats to encode some information and dump it to a file.
I want to place a MagicNumber/Signature at the beginning of files encoded in my format to be able to tell them apart ...
-1
votes
2
answers
962
views
How to handle multiple versions of binary file format
I'm writing a reader for the custom binary file format used in one game. The format has multiple versions for example:
struct FileHeader
{
ushort version;
uint fieldX; // version 1
uint ...
0
votes
2
answers
104
views
What are formats to store geographic maps for a robot to travel point A to point B
Very beginner. Need to compute route from A to B for a robot. i would like to know how to store area map and compute the route. I can compute shortest path etc using algorithms e.g. dijkstra. What ...
1
vote
2
answers
581
views
How a standard video file is structured under the hood
I am new to looking into video file formats, and am wondering what it would take to parse one. To do that, I first would need to understand what the format looks like, so that's what this question is ...
10
votes
3
answers
2k
views
SQLite database as a data interchange format?
Is it sensible/reasonable to consider using an SQLite database file as a data interchange format? Are there any obvious gothchas or reasons not to do this?
Example. Say I have a master SQL Server ...
1
vote
0
answers
269
views
Best practice to handle input and output with several csv-like files
I am currently writing an application with the following structure:
input: the equivalent of an excel workbook, i.e. a few tables with different headers and a few scalar values. They represent ...
1
vote
6
answers
1k
views
What are the benefits of storing data contiguously?
I am designing an application file format which will store chunks of user data, ranging from a few bytes to a few gigabytes - median size probably in the 10MB - 30MB range.
I have the option of ...
0
votes
1
answer
873
views
best way to export binary data with additional text attributes to a stream
I would like to create a command line API in a Java application to export a binary blob to stdout. I would additionally like to export certain attributes about the blob, ideally in a non-binary format....
2
votes
3
answers
1k
views
What metadada to save and whether to include it inside the binary file?
I'm wondering if there are any general guidelines or best practices regarding when to split data into a metadata format, as oppose to directly embedding it within the data. (Specific example below).
...