• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

knowledgepixels / nanopub-registry / 20413250445

21 Dec 2025 05:19PM UTC coverage: 0.924% (-0.03%) from 0.954%
20413250445

push

github

ashleycaselli
chore: minor code cleanup

6 of 592 branches covered (1.01%)

Branch coverage included in aggregate %.

16 of 1789 relevant lines covered (0.89%)

0.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
src/main/java/com/knowledgepixels/registry/BufferOutputStream.java
1
package com.knowledgepixels.registry;
2

3
import io.vertx.core.buffer.Buffer;
4

5
import java.io.OutputStream;
6

7
public class BufferOutputStream extends OutputStream {
8

9
    private Buffer buffer;
10

11
    public BufferOutputStream() {
×
12
        buffer = Buffer.buffer();
×
13
    }
×
14

15
    public Buffer getBuffer() {
16
        return this.buffer.copy();
×
17
    }
18

19
    @Override
20
    public void write(int b) {
21
        buffer.appendByte((byte) (b & 0xFF));
×
22
    }
×
23

24
    @Override
25
    public void write(byte[] bytes) {
26
        buffer.appendBytes(bytes);
×
27
    }
×
28

29
    @Override
30
    public void write(byte[] bytes, int offset, int len) {
31
        buffer.appendBytes(bytes, offset, len);
×
32
    }
×
33

34
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc