| 12345678910111213141516171819202122232425262728 |
- function BinaryObjectWriter() {
- }
- Duktape.fin(BinaryObjectWriter.prototype, function (x) {
- if (x === BinaryObjectWriter.prototype) {
- return;
- }
- Polycode.BinaryObjectWriter__delete(x.__ptr)
- })
- BinaryObjectWriter.prototype.parseKeysFromObjectEntry = function(entry) {
- Polycode.BinaryObjectWriter_parseKeysFromObjectEntry(this.__ptr, entry)
- }
- BinaryObjectWriter.prototype.writeEntryToFile = function(entry) {
- Polycode.BinaryObjectWriter_writeEntryToFile(this.__ptr, entry)
- }
- BinaryObjectWriter.prototype.addKey = function(key) {
- return Polycode.BinaryObjectWriter_addKey(this.__ptr, key)
- }
- BinaryObjectWriter.prototype.getKeyIndex = function(key) {
- return Polycode.BinaryObjectWriter_getKeyIndex(this.__ptr, key)
- }
- BinaryObjectWriter.prototype.writeToFile = function(fileName) {
- return Polycode.BinaryObjectWriter_writeToFile(this.__ptr, fileName)
- }
|