package org.thoughtcrime.securesms.logging; public class GrowingBuffer { private byte[] buffer; public byte[] get(int minLength) { if (buffer == null || buffer.length < minLength) { buffer = new byte[minLength]; } return buffer; } }