Java Zero Format zeroBlock(byte[] block, int off, int len)

Here you can find the source of zeroBlock(byte[] block, int off, int len)

Description

zero Block

License

Open Source License

Declaration

public static void zeroBlock(byte[] block, int off, int len) 

Method Source Code

//package com.java2s;

public class Main {
    public static void zeroBlock(byte[] block, int off, int len) {
        for (int i = off; i < off + len; ++i)
            block[i] = 0;//from  w ww  . j  a v  a  2s  .  c o  m
    }

    public static void zeroBlock(byte[] block) {
        zeroBlock(block, 0, block.length);
    }
}

Related

  1. zero(int bits)
  2. zero(int x)
  3. zero_pad(byte[] original, int block_size)
  4. zeroAlign(String x, int count)
  5. zeroBasedTemplateStart(final int[] actions)
  6. zeroConvert(String src)
  7. zerocount(int v)
  8. zeroCount(long n)
  9. zeroDiv(double numerator, double denominator)