mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
delete export
TBR=r OCL=23121 CL=23127
This commit is contained in:
parent
0183baaf44
commit
839a68469b
234 changed files with 1198 additions and 1199 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue