I have heard from somewhere that there once was an idea of making computers work in terms of objects, instead of streams. Ie, the storage layer would store individual objects, not bytes. And that the sizeof object, count of objects, params in traditional read and write functions comes from that.