BinaryObjectWriter.js 678 B

12345678910111213141516171819202122
  1. function BinaryObjectWriter() {
  2. }
  3. BinaryObjectWriter.prototype.parseKeysFromObjectEntry = function(entry) {
  4. Polycode.BinaryObjectWriter_parseKeysFromObjectEntry(this.__ptr, entry)
  5. }
  6. BinaryObjectWriter.prototype.writeEntryToFile = function(entry) {
  7. Polycode.BinaryObjectWriter_writeEntryToFile(this.__ptr, entry)
  8. }
  9. BinaryObjectWriter.prototype.addKey = function(key) {
  10. Polycode.BinaryObjectWriter_addKey(this.__ptr, key)
  11. }
  12. BinaryObjectWriter.prototype.getKeyIndex = function(key) {
  13. Polycode.BinaryObjectWriter_getKeyIndex(this.__ptr, key)
  14. }
  15. BinaryObjectWriter.prototype.writeToFile = function(fileName) {
  16. Polycode.BinaryObjectWriter_writeToFile(this.__ptr, fileName)
  17. }