Remove const on getOutputStream and getInputStream from buffer because it generates some warning on MPLAB