/** * Initializes the buffer to another buffer. Note that it makes a copy, it doesn't share the data. * * @param b The original buffer. */ public Buffer(Buffer b) { this(); addChars(b.getBufferChar()); }