Skip to content

Commit e75fbbb

Browse files
committed
Merge pull request #393 from mattjphillips/node_io_buffer_length_fix
NodeApi.IO.Buffer.Length should be a simple property accessor.
2 parents 7e9e8df + 26dc564 commit e75fbbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Libraries/Node/Node.Core/IO/Buffer.cs

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public Buffer(string data) {
2424
public Buffer(string data, Encoding encoding) {
2525
}
2626

27+
[ScriptField]
2728
public int Length {
2829
get {
2930
return 0;

0 commit comments

Comments
 (0)