Update Buffer.java

View "TODO" comment for what I need to do next.