(Stream stream, int alignment)
| 449 | } |
| 450 | |
| 451 | private static void AlignStream(Stream stream, int alignment) |
| 452 | { |
| 453 | var aligned = AlignValue(stream.Position, alignment); |
| 454 | while (stream.Position < aligned) |
| 455 | { |
| 456 | stream.WriteByte(0); |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | private static long AlignValue(long value, int alignment) |
| 461 | { |
nothing calls this directly
no outgoing calls
no test coverage detected