You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ingvar Stepanyan edited this page Feb 12, 2014
·
3 revisions
new jBinary(data, typeSet)
data is a jDataView or any underlying type (in that case jDataView will be created with default parameters).
typeSet is your type set - object with all the defined types.
Example
varb1=newjBinary([0x05,0x03,0x7F,0x1E]);// with default typesetvarb2=newjBinary(newjDataView(data,5,10,true),{MetaName: ['string',30]});// with custom jDataView instance on data and typeset with custom type MetaName.varb3=newjBinary(1024,typeSet);// jBinary on empty pre-allocated 1KB buffer with typeSet defined in variable