Permalink
Browse files

NodeApi.IO.Buffer.Length should be a simple property accessor.

  • Loading branch information...
mattjphillips committed Aug 23, 2013
1 parent 7e9e8df commit 26dc5645b86946c7a01edf16d2dc18e3f3720be4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Libraries/Node/Node.Core/IO/Buffer.cs
@@ -24,6 +24,7 @@ public sealed class Buffer {
public Buffer(string data, Encoding encoding) {
}
+ [ScriptField]
public int Length {
get {
return 0;

0 comments on commit 26dc564

Please sign in to comment.