This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Commit 5c6f12a
chakrashim: using new jsrt interface
Several scenarios involve moving buffers of 8-bit chars around.
Previously the only way to get 8-bit chars out of jsrt was to get
16-bit chars and then marshal them manually. To assist with this,
we've added a new JsCopyStringOneByte function to directly extract
8-bit strings without needing intermediate storage.
PR-URL: #344
Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com>
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>1 parent 72b7dc2 commit 5c6f12a
1 file changed
+5
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 104 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
118 | 110 | | |
119 | 111 | | |
120 | | - | |
121 | 112 | | |
122 | 113 | | |
123 | 114 | | |
| |||
0 commit comments