Skip to content

Commit 26dc564

Browse files
committed
NodeApi.IO.Buffer.Length should be a simple property accessor.
1 parent 7e9e8df commit 26dc564

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
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)