/// <exception cref="NGit.Errors.MissingObjectException"></exception> /// <exception cref="NGit.Errors.IncorrectObjectTypeException"></exception> /// <exception cref="System.IO.IOException"></exception> /// <exception cref="NGit.Errors.LargeObjectException"></exception> private byte[] Buffer(DeltaWindowEntry ent) { byte[] buf = ent.buffer; if (buf == null) { buf = PackWriter.Buffer(config, reader, ent.@object); if (0 < maxMemory) { loaded += buf.Length; } ent.buffer = buf; } return(buf); }