 
   add: (structIns) ->
    if i_lArrPos is size
-    @addArray()
+    @_addArray()
 
    @length++
    length++
    return lastArr.get i_lArrPos++, structIns
 
-  addArray: ->
+  _addArray: ->
    if size < max_size
     views = lastArr.getViews()
     lastArr = TDS.Array struct, size<<1

STRING_ID = 0

INT_SIZE = 16
MAX_SIZE = 1<<26
MAX_BYTES = 1<<29
MAX_BYTES_POW = 29

Strings =
 INVALID_STRING_REF: "Invalid String reference"
 NO_PROPERTIES: (name) ->
  "No properties in the struct #{name}"
 INVALID_STRING: "Invalid String"

#TODO cleanup method to garbage collect
StringAlloc = ->
 chars = []
 charLens = []

p = new Person()
console.log p.get()
###

Struct = ->
 id = null
