Skip to content

Commit

Permalink
Added Float64Array, DoubleByteArray and DoubleWordArray support for P…
Browse files Browse the repository at this point in the history
…haro 11+
  • Loading branch information
mumez committed Nov 7, 2024
1 parent 0ad4105 commit fadc832
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*SIXX-InOut-Pharo110
createInstanceOf: aClass withSixxElement: sixxElement
| col |
col := Array readFrom: (ReadStream on: (SixxXmlUtil characterDataFrom: sixxElement)).
^ self withAll: col
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*SIXX-InOut-Pharo110
sixxContentOn: aStream indent: level context: dictionary
aStream nextPutAll: '#( '.
self do:[:each | aStream nextPutAll: each printString; space].
aStream nextPutAll: ')'.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "DoubleByteArray"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*SIXX-InOut-Pharo110
createInstanceOf: aClass withSixxElement: sixxElement
| col |
col := Array readFrom: (ReadStream on: (SixxXmlUtil characterDataFrom: sixxElement)).
^ self withAll: col
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*SIXX-InOut-Pharo110
sixxContentOn: aStream indent: level context: dictionary
aStream nextPutAll: '#( '.
self do:[:each | aStream nextPutAll: each printString; space].
aStream nextPutAll: ')'.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "DoubleWordArray"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*SIXX-InOut-Pharo110
createInstanceOf: aClass withSixxElement: sixxElement
| col |
col := Array readFrom: (ReadStream on: (SixxXmlUtil characterDataFrom: sixxElement)).
^ self withAll: col
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*SIXX-InOut-Pharo110
sixxContentOn: aStream indent: level context: dictionary
aStream nextPutAll: '#( '.
self do:[:each | aStream nextPutAll: each printString; space].
aStream nextPutAll: ')'.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "Float64Array"
}

0 comments on commit fadc832

Please sign in to comment.