Skip to content

Commit 18e4669

Browse files
committed
Testing Wasm
1 parent a95d5ed commit 18e4669

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

swift/Sources/FlexBuffers/Writer/FlexBuffersWriter.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,11 +763,14 @@ public struct FlexBuffersWriter {
763763
let vloc = _bb.writerIndex
764764

765765
for i in stride(from: start, to: stack.count, by: step) {
766+
print("### stack[i]", stack[i])
766767
write(value: stack[i], byteWidth: byteWidth)
767768
}
768769

769770
if !typed {
770771
for i in stride(from: start, to: stack.count, by: step) {
772+
print("### stack[i]", stack[i])
773+
print("### packedtype", stack[i].storedPackedType(width: bitWidth))
771774
_bb.write(stack[i].storedPackedType(width: bitWidth), len: 1)
772775
}
773776
}

0 commit comments

Comments
 (0)