diff options
| author | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 | 
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 | 
| commit | 4ae0ed29a283c16d1c83ef704c4d75170c3801e6 (patch) | |
| tree | f8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /src/lib/io/bytebuffer.go | |
| parent | 3986ef877ccd4db750b5050e318dff78f7e55d19 (diff) | |
| download | golang-4ae0ed29a283c16d1c83ef704c4d75170c3801e6.tar.gz | |
delete export
TBR=r
OCL=23121
CL=23127
Diffstat (limited to 'src/lib/io/bytebuffer.go')
| -rw-r--r-- | src/lib/io/bytebuffer.go | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/lib/io/bytebuffer.go b/src/lib/io/bytebuffer.go index 5faeff9eb..fa11b37ee 100644 --- a/src/lib/io/bytebuffer.go +++ b/src/lib/io/bytebuffer.go @@ -24,7 +24,7 @@ func bytecopy(dst []byte, doff int, src []byte, soff int, count int) {  	}  } -export type ByteBuffer struct { +type ByteBuffer struct {  	buf	[]byte;  	off	int;	// Read from here  	len	int;	// Write to here @@ -87,8 +87,7 @@ func (b *ByteBuffer) AllData() []byte {  	return b.buf[0:b.len]  } - -export func NewByteBufferFromArray(buf []byte) *ByteBuffer { +func NewByteBufferFromArray(buf []byte) *ByteBuffer {  	b := new(ByteBuffer);  	b.buf = buf;  	b.off = 0; | 
