Data returns a byte slice representing the memory region containing the data.
()
| 102 | |
| 103 | // Data returns a byte slice representing the memory region containing the data. |
| 104 | func (b *Buffer) Data() []byte { |
| 105 | return b.data |
| 106 | } |
| 107 | |
| 108 | // Inner returns a byte slice representing the entire inner memory pages. This should NOT be used unless you have a specific need. |
| 109 | func (b *Buffer) Inner() []byte { |
no outgoing calls